This week's book giveaway is in the
We're giving away four copies of
and have Sam Newman on-line!
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
this week in the
How to close the session in struts.confiq.xml
Joined: Aug 02, 2008
May 31, 2009 05:45:46
i am using struts1.2. i have create a action,form and
so, my struts.confiq.xml file contains
<action attribute="indexForm" name="indexForm" path="/index"
so, i want to close the session scope at the end of action class.
is it possible?.
send reply urgent.
Joined: Sep 29, 2008
May 31, 2009 06:46:02
You can't run
code in the
configuration file. You close the session in the action class, in Java.
Joined: Mar 28, 2007
Jun 02, 2009 01:23:08
You can do this by
Session session=request.getSession().getAttribute("MYATTRIBUTE"); session.removeAttribute("MYATTRIBUTE");
Ujjwal B Soni <baroda, gujarat, india> <+918866008962>
"Helping hands are better than praying lips......"
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: How to close the session in struts.confiq.xml
Struts custom form question.....
Hide index.jsp or index.do with struts
How to set session id manually ?
iPad - meh...
Error Message rendering twice in struts2 because of integration with spring
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015