You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by bhaskar karambelkar <vk...@yahoo.com> on 2005/12/13 23:50:36 UTC

tomcat userdir and context

I set up userdir in tomcat with the following
<Listener className="org.apache.catalina.startup.UserConfig"
 directoryName="public_html/webapps"
userClass="org.apache.catalina.startup.PasswdUserDatabase"/>

My intention is to have webapps as the common base directory where I can put
all my webapps.
But it seems that the webapps directory is a single web app in itself and not a
container for multiple webapps.

for. eg. 
Both the following 2 URLS
http://host:8080/~user/app1/tp.jsp
and
http://host:8080/~user/app2/tp.jsp 
have the same servlet context i.e. ~user.

Can I configure tomcat so that they will have their
seperate contexts, viz.. ~user/app1 and ~user/app2 respectively ?

thanks


best regards
bhaskar
http://www.bhaskarvk.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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