File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Android Security Essentials Live Lessons this week in the Android 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Webapp instead of default Tomcat homepage
 
Similar Threads
URL path
creating a web context root in tomcat
Deploying in Jboss/Tomcat
Urgent help needed plz...redirecting from https to http session loss problem
client cert authentication problem