I would suggest For JSP's,use <url-pattern>*.jsp</url-pattern>.
And for Servlets. You could add a common starting name that maps to a servlet path in the container. For instance, let's say all the URLs starting with the path "servlets" map to some kind of servlet in the container. Now add <url-pattern>/servlet/*</url-pattern> element to your filter. This maps all the servlet paths starting with "servlet" to be intercepted by your filter. All the Best, Vinod -----Original Message----- From: Fredrik Liden [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 16, 2005 2:18 PM To: Tomcat Users List Subject: Help configure ServletFilter Does anyone know how to configure a ServletFilter to only respond to JSPs and Servlets? If I set it to everything using * it triggers for all the images as well. Thanks! /Fredrik --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]