File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Custom URL alias in Tomcat 4.0.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Custom URL alias in Tomcat 4.0.1" Watch "Custom URL alias in Tomcat 4.0.1" New topic

Custom URL alias in Tomcat 4.0.1

Kaleem Haqqi

Joined: Aug 01, 2001
Posts: 22
How can I add my own URL alias in Tomcat 4.0.1 e.g: http://kaleem:8080/MyFolder
I have to run Servlets in this folder.
For running servlets I copy class files in c:\Progra....\Apach.....\Webapps\Examples\Web-Inf\Classes and it give me a long URL for running servlets. I want to make it simple. If anyone have solution, please reply me.

<B>-Kaleem Haqqi</B><BR>Java is mind work. Having the right frame of mind is essential.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

The servlet spec is a good place to start learning this stuff.

But as a quick answer, check out this link:

I should say that at first, that link doesn't appear to be talking about what you are asking, but trust me.. keep reading.
[This message has been edited by Mike Curwen (edited December 08, 2001).]
I agree. Here's the link:
subject: Custom URL alias in Tomcat 4.0.1