aspose file tools
The moose likes Tomcat and the fly likes Webapp instead of default Tomcat homepage Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply 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 agree. Here's the link: http://aspose.com/file-tools
 
subject: Webapp instead of default Tomcat homepage
 
Similar Threads
client cert authentication problem
Deploying in Jboss/Tomcat
Urgent help needed plz...redirecting from https to http session loss problem
URL path
creating a web context root in tomcat