RE: Struts2 set data to session

2006-10-30 Thread Dave Newton
From: Dave Newton [mailto:[EMAIL PROTECTED] > From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] > > There is also 'RequestAware,' but [...] note that unit testing > > your actions will become more difficult since your objects will be > > tied to a servlet environment. > Session/RequestAware implem

RE: Struts2 set data to session

2006-10-30 Thread Dave Newton
From: Wesley Wannemacher [mailto:[EMAIL PROTECTED] > There is also 'RequestAware,' but you should note that unit testing of > your actions will become more difficult since your objects will be > tied to a servlet environment. Session/RequestAware implementors supply a setter taking a java.util.Map

RE: Struts2 set data to session

2006-10-30 Thread Wesley Wannemacher
hould note that unit testing of your actions will become more difficult since your objects will be tied to a servlet environment. -Wes > -Original Message- > From: frankiestd168 [mailto:[EMAIL PROTECTED] > Sent: Monday, October 30, 2006 9:56 AM > To: user@struts.apache.org > S

Struts2 set data to session

2006-10-30 Thread frankiestd168
mm.put("cName", "cValue"); this.setSession(mm); but in jsp, <%= session.getAttribute("cName") %> is null. Any idea? -- View this message in context: http://www.nabble.com/Struts2-set-data-to-session-tf2539904.html#a7076046 Sent from the Struts - User ma