Yes but if I map do <url-pattern>/</url-pattern> then this becomes the "default" mapping, and anything that it's caught by the other mapping gets served by this mapping, so it caches my requests for static content.
PS Just in case it's not clear, I am using tomcat in standalone more so that it serves both dynamic and static content -----Original Message----- From: Phillip Morelock [mailto:[EMAIL PROTECTED]] Sent: Monday, May 20, 2002 8:17 PM To: Tomcat Users List Subject: Re: web.xml that should work without any web.xml involvement. The web.xml maps ONLY what you map, everything else is resolved with your static content if it's not found in the servlet-mappings. On 5/20/02 5:11 PM, "Vladimir" <[EMAIL PROTECTED]> wrote: > Is there any way to make a servlet-mapping that catches request to > www.servername.com/contextname/ but not requests to > www.servername.com/contextname/some_other_text where some other text is > a request fro static resources that reside in the document root of the > webapp. > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
