Hi,

What is the best practise for implementing a flow with more than one JSP
page in Struts 2.

Example:

Page 1:
Form with input fields
Next button

Page 2:
Needs input from Page 1
Form with other input fields
Previous button
Next button

Page 3:
Needs input from Page 1 and Page 2
Form with other input fields
Previous button
Submit button


Questions:
* One Action class, or three (code duplication)?
* Best way to pass data from page 1 to page 2, and from page 1 and 2 to page
3?
* If one Action class, how to validate only page 1, or page 2 or page 3
input?

/Best regards, Per Johansson

Reply via email to