Hello,

I am trying to use the new javax.servlet.Filter interface and have a
question about the deployment descriptor for filters. How do I specify more
than one URL mapping ? Can I do it like in the example below ?

<filter-mapping>
        <filter-name>someFilterService</filter-name>
        <url-pattern>*.do</url-pattern>
        <url-pattern>*.jsp</url-pattern>
        <url-pattern>*.html</url-pattern>
        ...
</filter-mapping>

Or should the individual patterns have their own <filter-mapping>...
</filter-mapping>?

Regards,

Gautam S



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to