tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: disabling non url match returns
Date Tue, 15 Jun 2010 03:13:51 GMT
> From: nejm [mailto:emedeiros@mms.org]
> Subject: disabling non url match returns
> 
> new to tomcat 

What exact version?

> and I'm trying to find the appropriate web.xml
> tweek to avoid trailing '/*' mapping to take place.

You really, really don't want to preclude that, since it would disable delivery of all static
content.

> For example lets say abc.com/current/ is a valid request.
> 
> however abc.com/current/xyz should not be.
> 
> my Tomcat server is always returning the abc.com/current/<anything
> trailing> just as though it was abc.com/current.

No, Tomcat isn't, but *your* servlet is.  Post the web.xml for your webapp so we can see what
mappings you have specified.

 - 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 unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message