Chuck,
Thanks for the response. I'm running the Tomcat V6 and the following is my
web.xml:
It looks like my mapping thats catching all requests would be the culprit
although I imagine if that mapping was removed it may change the behavior in
other areas? I'm going to look into these changes and effects now.
Thanks again.
http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>
MMS EXTERNAL CONTENT SERVER
org.restlet.application
org.mms.restlet.MainApplication
RestletServlet
com.noelios.restlet.ext.servlet.ServerServlet
DefaultNoListing
/*
n828cl wrote:
>
>> From: nejm [mailto:emedei...@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/> 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-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>
>
--
View this message in context:
http://old.nabble.com/disabling-non-url-match-returns-tp28886572p28890700.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org