Re: Is there anyway an Action can dynamically return to a page based on input?
My apologies if you received multiple copies of this email. We are having mail server troubles here. --Pietro - Original Message - From: "Pietro Dansk" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 25, 2004 1:54 PM Subject: Is there anyway an Action can dynamically return to a page 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]
Is there anyway an Action can dynamically return to a page 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]
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]