org.apache.taglibs.request
Class RequestTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--org.apache.taglibs.request.RequestTag
All Implemented Interfaces:
java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class RequestTag
extends javax.servlet.jsp.tagext.TagSupport

JSP Tag request, used to get HttpServletRequest information using the standard JSP <jsp:getProperty> tag.

The script variable of name id is available for use during processing of the entire JSP page.

JSP Tag Lib Descriptor

 <name>request</name>
 <tagclass>org.apache.taglibs.request.RequestTag</tagclass>
 <teiclass>org.apache.taglibs.request.RequestTEI</teiclass>
 <bodycontent>empty</bodycontent>
 <info>Get information about the current request.</info>
   <attribute>
     <name>id</name>
     <required>true</required>
     <rtexprvalue>false</rtexprvalue>
   </attribute>
 

Author:
Glenn Nielsen
See Also:
RequestTEI, RequestData, Serialized Form

Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
RequestTag()
           
 
Method Summary
 int doStartTag()
          Method called at start of tag, gets HttpServletRequest.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doEndTag, 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

RequestTag

public RequestTag()
Method Detail

doStartTag

public final int doStartTag()
                     throws javax.servlet.jsp.JspException
Method called at start of tag, gets HttpServletRequest.
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
SKIP_BODY


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.