If you use SessionAware in your actions, you can receive a Map that represents the session. You could pass that Map into your user manager class, and do the storage that way.
On Thu, Apr 16, 2009 at 10:18 AM, Security Management < [email protected]> wrote: > I want to store a list of interface instances (i.e. UserImpl which > implements IUser), so I can have methods: > > public void setUser(List<IUser> users) > { > This.getSession().put(SESSION_USER_LIST_KEY, users); > } > > public List<IUser> getUsers() > { > return (List<IUser>) this.getSession().get(SESSION_USER_LIST_KEY); > } > > I'm using Spring to manage struts objects. Can someone help, I'm having > trouble with finding out how in the documentation. Maybe my google > keywords > are bad or something... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Jim Kiley Senior Technical Consultant | Summa [p] 412.258.3346 http://www.summa-tech.com

