You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by srujana <sr...@isg.cmcltd.com> on 2003/07/09 13:24:04 UTC

getting application context REFERENCE from a bean

Hi All

	I'm facing a problem when trying to modify an object(say myObj) that is in
application context.

	I'm using a bean of scope session (say myBean) that listens to
HttpBindingListener/HttpSessionListener which tries to access application
context object myObj and modifies the data during the event valueUnbound.

	The problem is am not able to reflect the modifications back to the
application context since when i try to access myBean data its already
removed from the session and old myObj data is retained.

	Can anybody suggest h'w to get the reference of application context from a
bean or any other alternative.

Thanks in advance
Srujana




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org