we also had the same need to access the struts mappings from session listener. what we did was

we stored everything that is needed in session listener in session before it could be required. and we know session is accessible in sessionlistener.

If someone has a better approach, please suggest...!!!


Regards,
Puneet Agarwal
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com



"Ephemeris Lappis" <[EMAIL PROTECTED]>

07/22/2004 11:24 AM

Please respond to
"Struts Users Mailing List" <[EMAIL PROTECTED]>

To
"Struts" <[EMAIL PROTECTED]>
cc
Subject
Access Struts objects from a session listener





I need to access some Struts objects, like forward mappings, from a session
listener, or other part of the application's code where no request is
available. Is it possible, and, if it is, what is the best way to do it ?
I found in the ServletContext attributes an object of type
org.struts.action.ForwardMappings that may be interesting, but this class
doesn't appear in the API documentation. Is it a private type ?
Thanks for your help.


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


ForwardSourceID:NT0000273A    
DISCLAIMER: The information contained in this message is intended only and solely for 
the addressed individual or entity indicated in this message and for the exclusive use 
of the said addressed individual or entity indicated in this message (or responsible 
for delivery
of the message to such person) and may contain legally privileged and confidential 
information belonging to Tata Consultancy Services. It must not be printed, read, 
copied, disclosed, forwarded, distributed or used (in whatsoever manner) by any person 
other than the
addressee. Unauthorized use, disclosure or copying is strictly prohibited and may 
constitute unlawful act and can possibly attract legal action, civil and/or criminal. 
The contents of this message need not necessarily reflect or endorse the views of Tata 
Consultancy Services
on any subject matter.]
Any action taken or omitted to be taken based on this message is entirely at your risk 
and neither the originator of this message nor Tata Consultancy Services takes any 
responsibility or liability towards the same. Opinions, conclusions and any other
information contained in this message that do not relate to the official business of 
Tata Consultancy Services shall be understood as neither given nor endorsed by Tata 
Consultancy Services or any affiliate of Tata Consultancy Services. If you have 
received this message in error,
you should destroy this message and may please notify the sender by e-mail. Thank you.



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

Reply via email to