tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
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

MARK


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message