This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

URL Mapping HELP

Saqib C.
Greenhorn

Joined: Jun 03, 2002
Posts: 2
We have deployed our company website on Tomcat 4.0.3, which is http://www.salmonllc.com/website/Jsp/vanity/HomePage.jsp. The question is: How do I remove all of the extra path/URL stuff so that I have something like:
http://www.salmonllc.com/HomePage
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: URL Mapping HELP
 
It's not a secret anymore!