GeeCON Prague 2014*
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


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"/>
 
GeeCON Prague 2014
 
subject: How to remove session attributes using struts-tags in Struts2?