org.apache.struts.taglib
Class IncludeTag

org.apache.struts.taglib.IncludeTag

public final class IncludeTag

Perform an include of 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:34 $
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
IncludeTag()
           
 
Method Summary
 int doEndTag()
          Look up the ActionForward associated with the specified name, and perform an include of the corresponding actual path.
 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

IncludeTag

public IncludeTag()
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 an include of the corresponding actual path.
Throws:
JspException - if a JSP exception has occurred

release

public void release()
Release any acquired resources.


Copyright © 2000-2002 - Apache Software Foundation