Hi,
   We are using Struts2-Spring integration and all my action classes implement 
SessionAware, sample code to action class and their spring definition is given 
below,
 public class IRXxxxAction extends ActionSupport implements SessionAware { 
private Map session; public String execute() {//} public void 
setSession(Map<String, Object> session) { this.session = session; } }  
Spring Configuration
 <bean name="userAction" class="com.IRXxxxAction" > <property 
name="adminDAO" ref="adminDAO" /> </bean> If I understand correctly, 
each auto-wired property will be a singleton, so if the above is true, is there 
anyway that the session map get shared between two simultaneous requests?
 Regards,


 


Reply via email to