You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Hoang, Hai" <Ha...@coair.com> on 2002/04/01 19:32:31 UTC

Global object

I sent this item a sometime ago but no response...but here it goes again.

 

Here is my problem, I have a java bean class that keeps track of who changes
what on the table (e.g. modifiedby).  When a caller class changes something
to the underlying table, I want to know who.  The problem is that this Java
bean class doesn't have access to the session object.  In addition, I want
to keep servlet layer separated from the backend java bean layer.  Again,
does Struts have some kinds of global dictionary object so I can keep
information in there and ask for it when I need it...this dictionary object
should be available to everyone?  

 

Thank You,

Hai Hoang