Hey all
Does anyone know how I can set a webapp's path to / instead of using
/webappname ?
I am running a webapp which before was Resin based so all the URL's are
mapped as /localhost:8080/index.jsp etc... now Tomcat wants to sort
everything neatly under localhost:8080/webappname/index.jsp - but I
need to remove the webapp name in the url.
I tried doing this by changing <Context docBase="webappname"
path="/webappname"> to <Context docBase="webappname" path="/"> in
server.xml but Tomcat keeps changing it back!
Thanks!
Tarkin - 23 Oct 2006 01:25 GMT
> Hey all
>
[quoted text clipped - 10 lines]
>
> Thanks!
YMMV, but, FWIW-
backup the old ${CATALINA_HOME}/webapps/ROOT directory,
then install your webapp there.
HTH,
Tarkin