It's not a secret anymore!
The moose likes Tomcat and the fly likes URL Mapping HELP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "URL Mapping HELP" Watch "URL Mapping HELP" New topic

URL Mapping HELP

Saqib C.

Joined: Jun 03, 2002
Posts: 2
We have deployed our company website on Tomcat 4.0.3, which is The question is: How do I remove all of the extra path/URL stuff so that I have something like:
Please tell me where to look if you know. I couldn't find anything in the documentation that refers to setting up URL mappings (if I'm using the wrong terminology, please correct me). Thanks!!!
Adam Hardy
Ranch Hand

Joined: Oct 09, 2001
Posts: 567
You need to put make your website the tomcat default website. It's configured in web.xml or server.xml and is usually webapps/ROOT. Check out with Caven what's going on since you're trying to do more or less the same thing.

I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.
I agree. Here's the link:
subject: URL Mapping HELP
It's not a secret anymore!