struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoying, Ken" <Ken_Hoy...@PremierInc.com>
Subject RE: [S2] Servlet-Config Interceptor Bug?
Date Mon, 09 Jul 2007 18:54:53 GMT
I am currently utilizing the Servlet-Config Interceptor in order to
manage HTTPSession attributes as advised in the following document:
	
http://struts.apache.org/2.x/docs/how-do-we-get-access-to-the-session.ht
ml

The document states that this is preferred and that:
	"Any changes made to the session Map are reflected in the actual
HttpSessionRequest. You may insert and remove session attributes as
needed."

This appears to be working.  However if I look at the source code for
the interceptor, I do not see where it is explicitly calling the
setAttribute() and removeAttribute() methods.  My question is don't
these methods not need to be called in order for the Session Binding to
work and for any container management of sessions to work?  Is STRUTS2
maybe manageing the map it returns to ensure that this is happening or
is this a bug that I need to be aware of and code for?

Thanks,
Ken



-----------------------------------------
***Note:The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader of
this message is not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient,
you are hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If you have
received this communication in error, please notify the Sender
immediately by replying to the message and deleting it from your
computer. Thank you. Premier Inc.  
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message