hi 

It is simple. Reuse the same mappings which you have defined for this type
of process flow.
e.g.
I am sure that your struts-config file would have similar mappings.
<forward name="stage1"   path="/page1.jsp"/>
<forward name="stage2"   path="/page2.jsp"/>
<forward name="stage3"   path="/page3.jsp"/>

Suppose with this definition for a <action> element if you are on page 3 and
require to go back, you could do a mapping.findForward("stage2");

Hope this helps
anand

-----Original Message-----
From: gnanaseelan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:18 AM
To: Struts Users Mailing List
Subject: problem


Hi I am Gnan

 I am new to struts , and i have a problem.
i have 3 jsps ,each jsp captures data from user and in the corresponding
Action class i construct a Value Object and keep that in seession and
forwards the request to next Jsp.

My problem is i have a BACK Button in 2rd and 3rd jsp which has to take to
corresponding previous Jsp.

Can any one help me

Thanks in advance
GS

Reply via email to