This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes ActionForm with session scope Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "ActionForm with session scope" Watch "ActionForm with session scope" New topic
Author

ActionForm with session scope

Priya Venkatesan
Ranch Hand

Joined: Nov 02, 2002
Posts: 61
Can someone tell me what is the exact purpose of declaring ActionForm with session scope. ActionForm objects are usually used to get user inputs from forms and these values can be used in someother session object which I can create inside an Action class. Since ActionForms are used to just manupilate form data, is there any specific purpose to declare them as session scope. Iam totally confused. Please HELP.
Peter den Haan
author
Ranch Hand

Joined: Apr 20, 2000
Posts: 3252
How would you implement a multi-page wizard without storing information introspected from previous wizard pages in the HttpSession? Sure, you could stuff each page full of hidden fields to remember all the other pages, but elegant it ain't.

- Peter
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ActionForm with session scope