Do you mean something like ActionRedirect? String key = "task"; String value = "displayAccountDetails"; // this value changes
return new ActionRedirect(mapping.findForward("fwdDetail")) .addParameter(key, value); It still won't allow you to redirect to a tile, though. Hubert On 7/14/06, prasad pondugula <[EMAIL PROTECTED]> wrote:
Hello all, In an action class, how do we pass some dynamic parameter/values to an action forward. So that we do not need to hard code any values in struts-config.xml's (<forward name="fwdDetail" path="tilesDefDetail" redirect="true" />). Example: TestAction.java: String key = "task"; String value = "displayAccountDetails"; // this value changes dynamically based on some logic. return mapping.findForward("fwdDetail"); Please advice as soon as possible. Regards, Prasad Pondugula
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]