com.caucho.jstl.el
Class RedirectTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by com.caucho.jstl.el.RedirectTag
All Implemented Interfaces:
NameValueTag, java.io.Serializable, IterationTag, JspTag, Tag

public class RedirectTag
extends TagSupport
implements NameValueTag

See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
RedirectTag()
           
 
Method Summary
 void addParam(java.lang.String name, java.lang.String value)
          Adds a parameter.
 int doEndTag()
          Processed at the end of the tag.
 int doStartTag()
          Processed at the beginning of the tag.
 void setContext(Expr context)
          Sets the external context for the import.
 void setURL(Expr value)
          Sets the URL to be imported.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectTag

public RedirectTag()
Method Detail

setURL

public void setURL(Expr value)
Sets the URL to be imported.


setContext

public void setContext(Expr context)
Sets the external context for the import.


addParam

public void addParam(java.lang.String name,
                     java.lang.String value)
Adds a parameter.

Specified by:
addParam in interface NameValueTag

doStartTag

public int doStartTag()
               throws JspException
Description copied from class: TagSupport
Processed at the beginning of the tag.

The default behavior returns SKIP_BODY to skip the tag's body.

Specified by:
doStartTag in interface Tag
Overrides:
doStartTag in class TagSupport
Returns:
SKIP_BODY to ignore the body and EVAL_BODY_INCLUDE to evaluate the body.
Throws:
JspException

doEndTag

public int doEndTag()
             throws JspException
Description copied from class: TagSupport
Processed at the end of the tag. The default behavior continues with the rest of the JSP.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class TagSupport
Returns:
EVAL_PAGE to continue the page SKIP_PAGE to stop.
Throws:
JspException