you could do something like this in your action:

String forwardPath = "/action/Blah?source=" + sourceValue;
return new ActionForward(forwardPath, true); // which sets redirect=true
OR
return new ActionForward(forwardPath); // which is redirect=false

Sincerely,

Shane Witbeck
______________________________________
Developer, Bank of America
email: [EMAIL PROTECTED]
phone: 904.987.1688

-----Original Message-----
From: Bhaskar Gopalan [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 10:09 AM
To: Struts Group (E-mail)
Subject: Passing parameters


Hi,

I am going to a jsp(A) from two different jsps(B,C). Now, when I click
'save' on A
I want to go back to B or C, .i.e. to where I came from. I send the source
as a request parameter which is visible in action class of A. Now, when I am
done,
can i pass the source thru mapping.findForward()?

Thnx,
GB

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to