This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to close the session in struts.confiq.xml

 
nazir ahmed
Greenhorn
Posts: 16
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i am using struts1.2. i have create a action,form and jsp page.

so, my struts.confiq.xml file contains

<action attribute="indexForm" name="indexForm" path="/index"
scope="session" type="com.novabits.struts.action.IndexAction"/>


so, i want to close the session scope at the end of action class.

is it possible?.

send reply urgent.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
EaseUp.

You can't run Java code in the struts configuration file. You close the session in the action class, in Java.
 
ujjwal soni
Ranch Hand
Posts: 403
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

You can do this by







 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic