Re: problems with struts2 and session

2010-01-08 Thread Paweł Wielgus
Hi Sergio, this time late answear, when You have session field in action and also setter and getter for it then You can access session map as any other field from action in jsp, so < s:property value="session.get('variable')" > should work, because it is accessing normal getter in stack. Maybe try

Re: problems with struts2 and session

2010-01-06 Thread Sergio
Paweł Wielgus escribió: Hi, sorry for too fast response, i see that it is implementing it, another thing to notice is that in action You have access to session field which is a map constructed by struts, not real session object - as far as i remember. In jsp you can do < s:property value="session

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
Hi, sorry for too fast response, i see that it is implementing it, another thing to notice is that in action You have access to session field which is a map constructed by struts, not real session object - as far as i remember. In jsp you can do < s:property value="session.get('variable')" > to sho

Re: problems with struts2 and session

2010-01-06 Thread Sergio
Paweł Wielgus escribió: Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" )

Re: problems with struts2 and session

2010-01-06 Thread Paweł Wielgus
Hi Sergio, add SessionAware interface to your action. Best greetings, Pawel Wielgus. 2010/1/5, Sergio : > Sergio escribió: >> Hi people, >> >> i'm a newbie to struts2. I'm having too many problems modifing session >> parameters. I use <%= session.getAttribute( "variable" ) %> to gain >> access to

Re: problems with struts2 and session

2010-01-05 Thread Sergio
Sergio escribió: Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page, but not inside a struts action. struts.xml:

problems with struts2 and session

2010-01-05 Thread Sergio
Hi people, i'm a newbie to struts2. I'm having too many problems modifing session parameters. I use <%= session.getAttribute( "variable" ) %> to gain access to "variable" and that works when i modify "variable" into a jsp page, but not inside a struts action. struts.xml: http://struts.apac