tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Günter Kukies <guenter.kuk...@heuft.com>
Subject Re: Filter - ServletContext
Date Thu, 27 Feb 2003 16:02:41 GMT
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" <eprice@ptc.com>
To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message