File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
choosing my own webapp instead of ROOT on 5.5
Joined: Mar 04, 2005
Mar 04, 2005 22:55:00
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
as context path in the accessing url was myWebApp
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
Thanks in advance!
I agree. Here's the link:
subject: choosing my own webapp instead of ROOT on 5.5
How to set default "Context Root" for all urls in the webapp?
context deployment issue
Giving each webapp its own context root
Multilevel context path for ROOT app does not work
Define new tomcat webapp location?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014