org.apache.struts.taglib.logic
Class ForwardTag

org.apache.struts.taglib.logic.ForwardTag

public class ForwardTag

Perform a forward or redirect to a page that is looked up in the global ActionForwards collection associated with our application.

Version:
$Revision: 1.7 $ $Date: 2001/04/29 03:51:01 $
Author:
Craig R. McClanahan

Field Summary
protected static MessageResources messages
          The message resources for this package.
protected  java.lang.String name
          The logical name of the ActionForward entry to be looked up.
 
Constructor Summary
ForwardTag()
           
 
Method Summary
 int doEndTag()
          Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.
 int doStartTag()
          Defer processing until the end of this tag is encountered.
 java.lang.String getName()
           
 void release()
          Release all allocated resources.
 void setName(java.lang.String name)
           
 

Field Detail

messages

protected static MessageResources messages
The message resources for this package.

name

protected java.lang.String name
The logical name of the ActionForward entry to be looked up.
Constructor Detail

ForwardTag

public ForwardTag()
Method Detail

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Defer processing until the end of this tag is encountered.
Throws:
JspException - if a JSP exception has occurred

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Look up the ActionForward associated with the specified name, and perform a forward or redirect to that path as indicated.
Throws:
JspException - if a JSP exception has occurred

release

public void release()
Release all allocated resources.


Copyright © 2000-2002 - Apache Software Foundation