Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

RE: Removing ROOT as default path to tomcat 5

Guy Rouillier

2004-01-23


Drinkwater, GJ (Glen) wrote:
> Hi
>
>
> I wish to remove ROOT as the default path to Tomcat 5, I have
> added <Context path="/" to the server.xml file but the
> default $CATALINA_HOME/webapps/ROOT/index.jsp page still
> appears with http://localhost:8080. This is how I did it
> with tomcat 4, has anything changed??

This worked for me, at the bottom of server.xml:

    <!-- Tomcat Root Context -->

      <Context path="" docBase="C:/masergy-cvs/it/portal/pub"
debug="0">
      </Context>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
> For additional commands, e-mail: tomcat-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.