Hi,

Eh, store the object in the session with
session.setAttribute("name", object)
retrieve it with
(cast-to your object)session.getAttribute("name").

Or is this a too simple answer for your problem ?

Regards
Werner


On Sep 28, 2004, at 10:23 AM, Pawson, David wrote:

My tomcat 5.0.27 app currently generates session based data in
a number of classes.
  Is there a common way of sharing a data structure across
these classes?
 I want to instantiate it when a user logs in, add to it from
one class, then retrieve data from another class.
  This data will vary across users, hence is not common to
all sessions.


TIA, Regards DaveP.

**** snip here *****


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



Reply via email to