I have 4
JSP pages in my application. Saying Next leads me to the next JSP Page and Cancel always takes me to the first JSP page with default values loaded.Saying Previous takes me to the previous page with the selected values restored.
All this is to implemented using
Struts ,having a Single Action Class and a Single Form Bean.
My Page 1 contains 2 Combo Boxes
My Page 2 contains 2 Listboxes. The user selects some items of List 1 and moves into List 2. Saying Next should save the List 2 and take me to Page 3.
Page 3 again has exactly the same scenario as Page 2 .Saying Next takes me to Page 4.
Page 4 again contain 2 Combo Boxes.
I should go on appending the field values of Pages I navigate in the Request so that its available in my Formbean. So in my Action class I get the request parameter values of Page 1 and set it again in the Request .In Page 2, I have a hidden variable corr. to fields of Page 1 and I assign the values by doing request.getAttribute.
How should I do the same thing for storing my Listbox values of Page 2 in the request and then how do I retrieve the same in Page 3 ?
Thanks in Advance,
Priya