public class

IncludeTag

extends WebWorkBodyTagSupport
implements ParamTag.Parametric
java.lang.Object
   ↳ javax.servlet.jsp.tagext.TagSupport
     ↳ javax.servlet.jsp.tagext.BodyTagSupport
       ↳ webwork.view.taglib.WebWorkBodyTagSupport
         ↳ webwork.view.taglib.IncludeTag

Class Overview

Include a servlets output (For example, result of servlet, or a JSP page).

Summary

[Expand]
Inherited Constants
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
Fields
protected String pageAttr
protected Map params
protected String valueAttr
[Expand]
Inherited Fields
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
Public Constructors
IncludeTag()
Public Methods
void addParameter(String name, Object value)
Add a parameter to the URL of the included page/servlet.
int doEndTag()
int doStartTag()
static String getContextRelativePath(ServletRequest request, String relativePath)
static void include(String aResult, PageContext aContext)
void setPage(String aPage)
This method is deprecated. use value attribute instead
void setValue(String aName)
Name of property whose value is the name of the page/servlet to include.
[Expand]
Inherited Methods
From class webwork.view.taglib.WebWorkBodyTagSupport
From class javax.servlet.jsp.tagext.BodyTagSupport
From class javax.servlet.jsp.tagext.TagSupport
From class java.lang.Object
From interface javax.servlet.jsp.tagext.BodyTag
From interface javax.servlet.jsp.tagext.IterationTag
From interface javax.servlet.jsp.tagext.Tag
From interface webwork.view.taglib.ParamTag.Parametric

Fields

protected String pageAttr

protected Map params

protected String valueAttr

Public Constructors

public IncludeTag ()

Public Methods

public void addParameter (String name, Object value)

Add a parameter to the URL of the included page/servlet.

public int doEndTag ()

Throws
JspException

public int doStartTag ()

Throws
JspException

public static String getContextRelativePath (ServletRequest request, String relativePath)

public static void include (String aResult, PageContext aContext)

Throws
IOException
ServletException

public void setPage (String aPage)

This method is deprecated.
use value attribute instead

Name of page/servlet to include.

public void setValue (String aName)

Name of property whose value is the name of the page/servlet to include.