tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ben short" <...@benshort.co.uk>
Subject Re: Tomcat 5.5 Regular Expression as servlet-mapping url-pattern
Date Fri, 27 Oct 2006 19:21:52 GMT
Hi Chuck,

Do you have an example of this?

Ben

On 10/27/06, Caldarale, Charles R <Chuck.Caldarale@unisys.com> wrote:
> > From: jamin.short@gmail.com [mailto:jamin.short@gmail.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

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


Mime
View raw message