"I've got a fever... and the only cure is more cowbell!"

LOL.  :-D

"Tim Funk" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> You won't be able to get the servlet reference. A possibility is to define
> the filter multiple times with different parameters. For example, here is
the
> same class name defined 4 times as 4 different filters.
>
> <filter>
>    <filter-name>filter1</filter-name>
>    <filter-class>more.Cowbell</filter-class>
>    <init-param>
>      <param-name>my</param-name>
>      <param-value>attribute</param-value>
>    </init-param>
> </filter>
> <filter>
>    <filter-name>filter2</filter-name>
>    <filter-class>more.Cowbell</filter-class>
> </filter>
> <filter>
>    <filter-name>filter3</filter-name>
>    <filter-class>more.Cowbell</filter-class>
>    <init-param>
>      <param-name>another</param-name>
>      <param-value>some value</param-value>
>    </init-param>
> </filter>
> <filter>
>    <filter-name>filter4</filter-name>
>    <filter-class>more.Cowbell</filter-class>
> </filter>
>
> I'll leave it up to you to figure out the mappings according to your
constraints.
>
> -Tim
>




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

Reply via email to