Use the <url-pattern> element instead of the <servlet-name> element and 
you're good to go

<filter-mapping>
     <filter-name>servletLogFilter</filter-name>
     <url-pattern> index.jsp </url-pattern>
</filter-mapping>

k

At 11:15 AM 11/12/01 -0700, you wrote:
>is it possible to have a filter working on a JSP file?
>
>I tryed the following, with TEMPLATE = "index.jsp", "index.jsp"
>but all doesn't work.
>
>       <!-- filter mapping -->
><filter-mapping>
>     <filter-name>servletLogFilter</filter-name>
>     <servlet-name> TEMPLATE</servlet-name>
></filter-mapping>
>
>
>
>--
>To unsubscribe:   <mailto:[EMAIL PROTECTED]>
>For additional commands: <mailto:[EMAIL PROTECTED]>
>Troubles with the list: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to