getJspContext().getAttribute("someKey",PageContext.SESSION_SCOPE)
Le Mercredi 11 Janvier 2006 16:19, Thom Hehl a écrit :
> This explains the code I found. What if you extend SimpleTagSupport. 
> What's the difference?
> 
> David Delbecq wrote:
> 
> >to expose bean in jsp:
> >http://java.sun.com/products/jsp/tags/11/syntaxref11.fm14.html
> >
> >to access session in a custom tag, assuming you extend TagSupport class:
> >pageContext.getSession();
> >
> >Le Mercredi 11 Janvier 2006 15:57, Thom Hehl a écrit :
> >  
> >
> >>I'm trying to get to the session from a tag. I have a bean stored there 
> >>that I want to use in my tag. How can I retrieve this. I can't find this 
> >>information anywhere.
> >>
> >>Thanks.
> >>
> >>Thom Hehl
> >>Heavyweight Software for Heavyweight Needs
> >>www.heavyweightsoftware.com
> >>    
> >>
> >
> >  
> >
> 
> 
> Thom Hehl
> Heavyweight Software for Heavyweight Needs
> www.heavyweightsoftware.com

-- 
David Delbecq
Royal Meteorological Institute of Belgium

-
Pingouins dans les champs, hiver méchant

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

Reply via email to