tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Janner" <Jeffrey.Jan...@PolyDyne.com>
Subject <filter-mapping> syntax question
Date Thu, 22 Oct 2009 23:24:17 GMT
OK, time for me to ask a newbie question. (And I did do some research,
but didn't locate a definitive answer.)

 

Can a <filter-mapping> entry have more than one <url-pattern> entries?

For example:

  <filter-mapping>

    <filter-name>ImageFilter</filter-name>

    <url-pattern>*.gif</url-pattern>

    <url-pattern>*.jpg</url-pattern>

    <url-pattern>*.png</url-pattern>

  </filter-mapping>

 

Or do I have to specify 3 mappings, one for each file type?

Jeff

 


*******************************  NOTICE  *********************************
This message is intended for the use of the individual or entity to which 
it is addressed and may contain information that is privileged, 
confidential, and exempt from disclosure under applicable law.  If the 
reader of this message is not the intended recipient or the employee or 
agent responsible for delivering this message to the intended recipient, 
you are hereby notified that any dissemination, distribution, or copying 
of this communication is strictly prohibited.  If you have received this 
communication in error, please notify us immediately by reply or by 
telephone (call us collect at 512-343-9100) and immediately delete this 
message and all its attachments.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message