D
deepstar
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!
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!