tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim <mitsta...@gmail.com>
Subject How to config tomcat 5.5 to display project in sub directory in url
Date Tue, 04 Dec 2007 06:58:11 GMT
Hi,
I want to display my project "projectName" in the url like
http://localhost/aa/projectName.
There's only one project "projectName" on the host. I know how to
deploy it to http://localhost/projectName directly under the host but
how to tell tomcat about the path "/aa"in the middle?
I tried to write context:
<Context docBase="....war" path="/aa/projectName" reloadable="true"/>
in "\conf\Catalina\localhost\projectName.xml" but doesn't help.
Appreciate if any one can help.

tomcat version 5.5.25, the project is with tapestry+spring+hibernate.

Cheers

---------------------------------------------------------------------
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