org.apache.struts.taglib
Class ForwardTag

org.apache.struts.taglib.ForwardTag

public final 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.3 $ $Date: 2000/08/01 20:03:31 $
Author:
Craig R. McClanahan

Field Summary
protected static MessageResources messages
          The message resources for this package.
private  java.lang.String name
          The logical name of the global ActionForward we will look 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 generation until the end of this tag is encountered.
 java.lang.String getName()
          Return the logical name.
 void release()
          Release any acquired resources.
 void setName(java.lang.String name)
          Set the logicl name.
 

Field Detail

messages

protected static MessageResources messages
The message resources for this package.

name

private java.lang.String name
The logical name of the global ActionForward we will look up
Constructor Detail

ForwardTag

public ForwardTag()
Method Detail

getName

public java.lang.String getName()
Return the logical name.

setName

public void setName(java.lang.String name)
Set the logicl name.
Parameters:
name - The new logical name

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Defer generation 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 any acquired resources.


Copyright © 2000-2002 - Apache Software Foundation