> From: David Uctaa [mailto:[EMAIL PROTECTED] 
> Subject: How to handle trailing slash and upper/lower case 
> combinations
> 
> how do I configure this when using Tomcat standalone?
> 
> So all of the following combinations should resolve to
> http://my.domain.com/MyApp
> 
> http://my.domain.com/myapp
> http://my.domain.com/myapp/
> http://my.domain.com/Myapp
> http://my.domain.com/Myapp/

The servlet spec states that the context name is case-sensitive, and
Tomcat is following that rule.  To get around this, you could write a
filter (in the ROOT webapp) or valve to catch URLs that don't map to a
known context, and do whatever pattern matching and forwarding is
appropriate.

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

Reply via email to