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 Webapp instead of default Tomcat homepage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » Tomcat
Bookmark "Webapp instead of default Tomcat homepage" Watch "Webapp instead of default Tomcat homepage" New topic
Author

Webapp instead of default Tomcat homepage

Johnny Utah
Greenhorn

Joined: Jan 08, 2008
Posts: 2
Hello,

I'm using Tomcat 6 with JDK 1.6 on Debian 4.

I have a web application located at http://myserver/jtrac

I would like to be able to hit the web app by using http://myserver

Is this just a server.xml or web.xml edit, or do I need a redirect?

Thank you!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Just rename your webapp to ROOT.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Johnny Utah
Greenhorn

Joined: Jan 08, 2008
Posts: 2
Thanks - That was easy.
 
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: Webapp instead of default Tomcat homepage
 
jQuery in Action, 3rd edition