You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andreas Hirner <an...@projektinter.net> on 2002/07/02 16:24:03 UTC

taglibs and application context

Hello,

I have set an attribute like this:

request.setAttribute(Constants.VARIABLE_KEY, "variable");

now I would like retreive that variable in a taglib. But if call it
via

variable =
(String)pageContext.getServletContext().getAttribute(Constants.VARIABL
E_KEY);

the variable is null

Waht's wrong?

Thanks
Andreas



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>