Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Rewriting

Status
Not open for further replies.
Hi Enya,

From what I know, I don't think it is possible to re-write URLS. Anyone pls correct me if I am wrong. For your case, all I can think of is to code a servlet using the GET method. This servlet can be called from another servlet or html page. A parameter would be passed into this servlet (which for your case would be 'filename' with the value of 'myfile.zip'.)

The url would automatically be If you need additional help, you can email to me at zaoliang@hotmail.com I don't guaranty that I will be able to solve your problems but I will try my best :)
 
If you are using a http server like Apache it is possible to do this by editing the httpd.conf file. You can find lots info of how to modify the config file on
I use a JSP/Servlet server called Resin by Caucho ( and you can map all sorts of different things in the resin.conf file. Lots of documentation on their site also.

If you have any more questions just give me a reply. I check this forum off and on all day. I work at GE Transportation Systems. I do lots of Java application development work for their huge intranet site.

I hope this helped! ;-)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top