Sometimes you need to transfer control to another page inside the current application or to an arbitrary URI entirely outside the application. Two tags in the logic library are designed to enable you to do this.
The forward tag causes a transfer of control using a global ActionForward defined in the Struts configuration file. It takes a single attribute, name, which is the name of the forward. For example:
On its surface, the redirect tag seems complicated until you realize that all the attributes are the same as their namesakes in the <html:link> tag. The only difference is that whereas the link tag comes into ...