BEA Systems, Inc.

weblogicx.jsp.tags
Class IncludeTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by weblogicx.jsp.tags.IncludeTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class IncludeTag
extends BodyTagSupport

This include tag allows you to include information from an external URL inline in the page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport
bodyContent
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.BodyTag
EVAL_BODY_BUFFERED, EVAL_BODY_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
IncludeTag()
           
 
Method Summary
 int doEndTag()
           
 String getContentType()
           
 String getUrl()
           
 void release()
          Reset properties.
 void setContentType(String contentType)
          Content Type
 void setUrl(String url)
          This is the external URL that you wish to include in the current page.
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, getBodyContent, getPreviousOut, setBodyContent
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

IncludeTag

public IncludeTag()
Method Detail

setUrl

public void setUrl(String url)
This is the external URL that you wish to include in the current page.


getUrl

public String getUrl()

setContentType

public void setContentType(String contentType)
Content Type


getContentType

public String getContentType()

release

public void release()
Reset properties.

Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport

doEndTag

public int doEndTag()
             throws JspException
Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs100
Copyright 2006 BEA Systems Inc.