tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nejm <emedei...@mms.org>
Subject disabling non url match returns
Date Tue, 15 Jun 2010 02:30:33 GMT

Hi guys, new to tomcat and I'm trying to find the appropriate web.xml tweek
to avoid trailing '/*' mapping to take place.

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.

How can I return a 404 page not found or similar error instead of the real
xml. 

thanks alot! 
-- 
View this message in context: http://old.nabble.com/disabling-non-url-match-returns-tp28886572p28886572.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message