Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing data between actions 1

Status
Not open for further replies.

ggggtechtips

Programmer
Dec 3, 2004
1
US
This is what I am trying to do.
<BR>
There are 5 screens which will collect different information. I want to put all five screens information in a single Object.
<BR>
Here is what I have:
5 jsp screens with required fields.
5 different actions and forms classes
1 bean which has all fields from 5 different screens when moving from one screen to the other, whatever information collected on the current screen I am updating/inserting to that bean.
<BR>
My question is how do I pass that bean from screen to other screen action ?
Thanks, Gokul
 

You can use the multi page validator feature added since struts 1.1. take a look at the multip-page example in the validator example app that come with struts distribution.

Basically it help to carry over the fields to the next form page.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top