tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Bug 49914 - "Filter on url-pattern of "/" is not invoked"
Date Tue, 21 Sep 2010 12:30:54 GMT
> From: Wesley Acheson [mailto:wesley.acheson@gmail.com] 
> Subject: Re: Bug 49914 - "Filter on url-pattern of "/" is not invoked"

> And "" is supposed to be root not "/" according to the specs.

Don't think so.  The empty string is used only to specify the path of the default context,
not pattern matching for a servlet or filter within a context.  For global matching in servlets
and filters, you must use "/*"; to specify the default servlet you use "/".  Using a url-pattern
of "/" for a filter doesn't seem to make any sense, since there is no concept in the spec
of a "default filter".

 - 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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message