Oh, sorry getInitParameter() was the solution. Thanks for your hint.
But why is the ServletContext not the same in Filter and HTTPServlet?

Günter

----- Original Message -----
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Thursday, February 27, 2003 4:54 PM
Subject: Re: Filter - ServletContext


>
>
> Günter Kukies wrote:
> > Hello,
> >
> > I want to read some context-param from web.xml within a filter. But the
getAttribute is always null.
> > There is no problem to get the same context-param within a Servlet.
>
>
> Don't you want getInitParameter() ?
>
>
>
>
> Erik
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to