tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Context path
Date Mon, 08 Oct 2007 22:46:58 GMT
Kwok Ng wrote:
> I am trying to deploy webapps with context xml file.  I have a context
> xml in the <tomcat>/conf/locahost/www.xml.  The content is:
>  <Context path="abc" docBase="C:/webapps/www"/>
> When I start the tomcat, I can't access the anything with
> http://localhost/abc, but I can access http://localhost/www.  Why?

Because the path is defined by the name of the context xml file.
Remove the path element from the context xml file and rename it to abc.xml


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message