2 ways off the top of my head:
1) <html:hidden..../>
2) <html:form action="/action.do?returnTo=here.jsp"


> -----Original Message-----
> From: Pietro Dansk [mailto:[EMAIL PROTECTED]
> Sent: Friday, June 25, 2004 2:13 PM
> To: Struts Users Mailing List
> Subject: actions which return dynamically based on input
> 
> 
> I have a form which appears on multiple pages. The form leads 
> to an action
> which changes a simple property. After doing this, I want the 
> action to
> simply lead back to the individual page from which it came. I 
> can't register
> a single "input" within the action tag of the struts-config.xml file
> (because there are multiple actions from which it could 
> possibly come).
> Therefore, it doesn't seem like I can use the 
> mapping.findInputForward()
> method. I want this form to simply return to the page or 
> action that it was
> previously at. What is the most elegant way to do this?
> 
> --Pietro 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to