tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "gautam" <gau...@applabs.net>
Subject [OT] Sevlet Filter + Deployment Descriptor
Date Tue, 20 Aug 2002 09:29:48 GMT
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:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message