Have your action implement SessionAware, and give it a setter of the form:

public void setSession(Map session);

You can then add things to this map, and they will be added into the session. 
Then you can access them in your JSP like this:

<s:property value="#session\['NAME'\]"/>


See these pages for more details:

http://struts.apache.org/2.0.6/docs/how-do-we-get-access-to-the-session.html
http://struts.apache.org/2.0.6/docs/application-session-request-objects-in-jsp.html


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

Reply via email to