struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksandar Matijaca <amatij...@gmail.com>
Subject Re: Storing data in session scope
Date Tue, 21 Jun 2005 20:51:46 GMT
Wendy, can you please give me the complete class name of that Listener 
object? Is it referenced in the web.xml??

Thanks, Alex.



On 6/21/05, Wendy Smoak <java@wendysmoak.com> wrote:
> 
> From: "Rafael Taboada" <kaliman.forever@gmail.com>
> 
> > I need to store some objects in session scope in order to use
> > around the application.
> 
> If you need to use them across the entire webapp, then application/context
> scope might be more appropriate. But either way, what I do is have a
> Listener that is notified when the app (or a session) starts. I put 
> various
> Maps and Lists into the appropriate scope under known keys, and then 
> they're
> there to be used whenever I need them.
> 
> Take a look at HttpSessionListener or ServletContextListener depending on
> what you decide you need.
> 
> --
> Wendy Smoak
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message