In an earlier post, I described a class to handle redirects in Struts and passing parameters along. That technique is not necessary; as of Struts 1.2.7, you can use the ActionRedirect class instead.
Here’s a basic example from inside the execute method in an Action.
1 2 3 4 5 | |
The ActionRedirect class is basically the same as my ForwardParameter class and is probably preferable.