org.apache.struts.taglib.logic

Class ForwardTag


public class ForwardTag
extends TagSupport

Perform a forward or redirect to a page that is looked up in the configuration information associated with our application.
Version:
$Rev: 54929 $ $Date: 2004-10-16 17:38:42 +0100 (Sat, 16 Oct 2004) $

Field Summary

protected static MessageResources
messages
The message resources for this package.
protected String
name
The logical name of the ActionForward entry to be looked up.

Method Summary

int
doEndTag()
Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.
protected void
doForward(String path)
Forward to the given path converting exceptions to JspException.
protected void
doRedirect(String path)
Redirect to the given path converting exceptions to JspException.
int
doStartTag()
Defer processing until the end of this tag is encountered.
String
getName()
void
release()
Release all allocated resources.
void
setName(String name)

Field Details

messages

protected static MessageResources messages
The message resources for this package.

name

protected String name
The logical name of the ActionForward entry to be looked up.

Method Details

doEndTag

public int doEndTag()
            throws JspException
Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.

doForward

protected void doForward(String path)
            throws JspException
Forward to the given path converting exceptions to JspException.
Parameters:
path - The path to forward to.
Since:
Struts 1.2

doRedirect

protected void doRedirect(String path)
            throws JspException
Redirect to the given path converting exceptions to JspException.
Parameters:
path - The path to redirect to.
Since:
Struts 1.2

doStartTag

public int doStartTag()
            throws JspException
Defer processing until the end of this tag is encountered.

getName

public String getName()

release

public void release()
Release all allocated resources.

setName

public void setName(String name)

Copyright B) 2000-2007 - The Apache Software Foundation