wood burning stoves*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: Webapp instead of default Tomcat homepage
 
Similar Threads
Urgent help needed plz...redirecting from https to http session loss problem
creating a web context root in tomcat
URL path
client cert authentication problem
Deploying in Jboss/Tomcat