Re: ActionMapping forward.findForward(str) with dynamic parameters

2006-07-14 Thread Hubert Rabago
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. H

ActionMapping forward.findForward(str) with dynamic parameters

2006-07-14 Thread prasad pondugula
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 (). Example: TestAction.java: String key = "task"; String value = "displayAccountDetails"; // this value changes d