org.apache.taglibs.request
Class RequestTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.apache.taglibs.request.RequestTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, 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

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
RequestTag()
           
 
Method Summary
 int doStartTag()
          Method called at start of tag, gets HttpServletRequest.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, 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.

Returns:
SKIP_BODY
Throws:
javax.servlet.jsp.JspException


Copyright ? 2000-2004 The Apache Software Foundation. All Rights Reserved.