> -----Messaggio originale----- > Da: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] conto di > Hani Suleiman > Inviato: giovedi 6 novembre 2003 14.45 > A: [EMAIL PROTECTED] > Oggetto: Re: [OS-webwork] Dynamic redirect > > > With both ww1 and 2, you can use variables in your actions.xml file > > Eg: redirect.action?url=${myurl} > > then in your action have a getMyurl() method. > > On Nov 6, 2003, at 8:35 AM, Giovanni Formenti wrote: > > > Hallo! > > We need to redirect an action dynamically to a view different from that > > specificated by SUCCESS (in the views.properties). Depending on some > > condition, the doExecute() method must redirect the user to a specific > > view > > (for example a.jsp if we have condition A or b.jsb if we have > > condition B > > somethin like: > > if(...) { > > return SUCCESS; > > else { > > redirect to another > > } > > ). > > It's possible?! Must we use redirect.action?url=xxxx but with xxxx > > changed > > within the doExecute()?! > > > > Thanx for any help! > > Gio > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: SF.net Giveback Program. > > Does SourceForge.net help you be more productive? Does it > > help you create better code? SHARE THE LOVE, and help us help > > YOU! Click Here: http://sourceforge.net/donate/ > > _______________________________________________ > > Opensymphony-webwork mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > Does SourceForge.net help you be more productive? Does it > help you create better code? SHARE THE LOVE, and help us help > YOU! Click Here: http://sourceforge.net/donate/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork