I guess you can try instantiting a new ActionForward object with the path where you want to go to.
new ActionForward(<PATH>);
Brati Sankar Ghosh
Tata Consultancy Services
Mailto: [EMAIL PROTECTED]
Website: http://www.tcs.com
"Guillermo Meyer"
<[EMAIL PROTECTED]>
06/28/2004 07:52 AM
|
|
You are needing something like a "navigation stack", doesn't you?
If so, let me know. We are working in an open source non intrusive
struts solution of a navigation stack.
Cheers.
Guillermo.
-----Original Message-----
From: Pietro Dansk [mailto:[EMAIL PROTECTED]
Sent: Viernes, 25 de Junio de 2004 05:54 p.m.
To: Struts Users Mailing List
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]
NOTA DE CONFIDENCIALIDAD
Este mensaje (y sus anexos) es confidencial, esta dirigido exclusivamente a las personas direccionadas en el mail y puede contener informacion (i)de propiedad exclusiva de Interbanking S.A. o (ii) amparada por el secreto profesional. Cualquier opinion en el contenido, es exclusiva de su autor y no representa necesariamente la opinion de Interbanking S.A. El acceso no autorizado, uso, reproduccion, o divulgacion esta prohibido. Interbanking S.A no asumira responsabilidad ni obligacion legal alguna por cualquier informacion incorrecta o alterada contenida en este mensaje. Si usted ha recibido este mensaje por error, le rogamos tenga la amabilidad de destruirlo inmediatamente junto con todas las copias del mismo, notificando al remitente. No debera utilizar, revelar, distribuir, imprimir o copiar este mensaje ni ninguna de sus partes si usted no es el destinatario. Muchas gracias.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ForwardSourceID:NT0000E2EE
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]