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
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
2 matches
Mail list logo