org.apache.taglibs.application
Class InitParameterTag

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

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

JSP Tag initParameter, used to output the value for a single init parameter named with name.

JSP Tag Lib Descriptor

 <name>initParameter</name>
 <tagclass>org.apache.taglibs.application.InitParameterTag</tagclass>
 <bodycontent>empty</bodycontent>
 <info>Output the value of a single init parameter.</info>
   <attribute>
     <name>name</name>
     <required>true</required>
     <rtexprvalue>false</rtexprvalue>
   </attribute>
 

Author:
Morgan Delagrange
See Also:
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
InitParameterTag()
           
 
Method Summary
 int doEndTag()
          Method called at end of Tag to output init parameter value
 void setName(java.lang.String str)
          Set the required tag attribute name.
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doStartTag, 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

InitParameterTag

public InitParameterTag()
Method Detail

doEndTag

public final int doEndTag()
                   throws javax.servlet.jsp.JspException
Method called at end of Tag to output init parameter value
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Returns:
EVAL_PAGE

setName

public final void setName(java.lang.String str)
Set the required tag attribute name.
Parameters:
String - name of init parameter


Copyright ? 2000 Apache Software Foundation. All Rights Reserved.