wood burning stoves 2.0*
The moose likes Tomcat and the fly likes choosing my own webapp instead of ROOT on 5.5 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 "choosing my own webapp instead of ROOT on 5.5" Watch "choosing my own webapp instead of ROOT on 5.5" New topic
Author

choosing my own webapp instead of ROOT on 5.5

seb petterson
Ranch Hand

Joined: Mar 04, 2005
Posts: 118
Howdy!

On 5.0 i simply changed path in the context element in ROOT.xml under tomcat/conf/catalina/localhost/ROOT.xml to "/ROOT" and similarly in ...myWebApp.xml i changed the path property to "";

That way the webapp activated by an empty string as context path in the accessing url was myWebApp ant not the default ROOT webapp.

On 5.5 this doesn't work anymore. Can anyone help me on this?

Also I wonder, what is the preferred way of dealing with this, is it to just put your default webapp in the ROOT directory, or to make it work by configuring tomcat?

Thanks in advance!

Seb
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: choosing my own webapp instead of ROOT on 5.5
 
Similar Threads
Define new tomcat webapp location?
Multilevel context path for ROOT app does not work
context deployment issue
Giving each webapp its own context root
How to set default "Context Root" for all urls in the webapp?