File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
How to remove session attributes using struts-tags in Struts2?
Joined: Mar 13, 2007
May 27, 2008 06:59:00
I work in a Struts 2 application in which I need to remove certain session attributes when changing the display of one page to another inside the parent jsp page. In Struts 2 which tag performs this.Please any one guide me?
Joined: Jun 11, 2009
Jun 11, 2009 14:50:02
Use <s:set ../> tag. The following is a sample.
<s:set name="variableName" value="" scope="session"/>
I agree. Here's the link:
subject: How to remove session attributes using struts-tags in Struts2?
Go back to previous page
difference between the JSP scope attributes
Access DAO Attributes?
reset button and clearing sessions
Display:table tag in Struts Application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014