Chuck,

Thanks for the advise, I fixed the problem. IT was definitely related to
the way contexts were defined and not to the servlet mappings. Some of
your replies to older postings helped me figure out the problem.

As a solution, I put the context files for the applications in
conf/Catalina/[host]/[appName].xml as described in
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

It didn't work right away. I had to remove the appBase attribute from
the host definition and provide an absolute path in the context's
docBase. After that everything worked as expected and all subdirectories
mapped to the proper servlet.

Thanks,
Ross

-----Original Message-----
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED] 
Sent: Thursday, October 23, 2008 5:49 PM
To: Tomcat Users List
Subject: RE: tomcat 6 and subdirectories

> From: Angelov, Rossen [mailto:[EMAIL PROTECTED]
> Subject: RE: tomcat 6 and subdirectories
>
> I will try in META-INF/context.xml, although how do you
> specify multiple contexts in this case?

There's a separate META-INF directory in each webapp, so each gets its
own context.xml file.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


"This communication is intended solely for the addressee and is confidential 
and not for third party unauthorized distribution"

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

Reply via email to