File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes How to remove session attributes using struts-tags in Struts2? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "How to remove session attributes using struts-tags in Struts2?" Watch "How to remove session attributes using struts-tags in Struts2?" New topic
Author

How to remove session attributes using struts-tags in Struts2?

Ramesh kangamuthu
Ranch Hand

Joined: Mar 13, 2007
Posts: 79
Hi,

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?


Regards,

Ramesh K
Richard Xing
Greenhorn

Joined: Jun 11, 2009
Posts: 1
Use <s:set ../> tag. The following is a sample.

<s:set name="variableName" value="" scope="session"/>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to remove session attributes using struts-tags in Struts2?
 
Similar Threads
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