Hi Chuck,

Do you have an example of this?

Ben

On 10/27/06, Caldarale, Charles R <[EMAIL PROTECTED]> wrote:
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
> url-pattern
>
> So I wanted to do something like map requests that are not equal to
> images, css, js etc to the DispatcherServlet.

Why not explicitly map images, css, js, etc., to Tomcat's DefaultServlet
in addition to the mapping of "/" to your DispatcherServlet?  Since the
spec calls for using the longest match first, your static content should
be delivered properly without invoking your dispatcher.

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



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