WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.jsp.tagext.session
Class ListTag

java.lang.Object
  |
  +--javax.servlet.jsp.tagext.TagSupport
        |
        +--javax.servlet.jsp.tagext.BodyTagSupport
              |
              +--examples.jsp.tagext.session.ListTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class ListTag
extends javax.servlet.jsp.tagext.BodyTagSupport

This class defines a custom JSP tag that enumerates through the contents of the current session.


Field Summary
(package private) static boolean debug
           
(package private)  java.util.Enumeration names
           
(package private)  javax.servlet.http.HttpSession session
           
 
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_TAG
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
ListTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doEndTag, doInitBody, getBodyContent, getPreviousOut, release, 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
 

Field Detail

debug

static final boolean debug

names

java.util.Enumeration names

session

javax.servlet.http.HttpSession session
Constructor Detail

ListTag

public ListTag()
Method Detail

doAfterBody

public int doAfterBody()
                throws javax.servlet.jsp.JspException
Overrides:
doAfterBody in class javax.servlet.jsp.tagext.BodyTagSupport

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Overrides:
doStartTag in class javax.servlet.jsp.tagext.BodyTagSupport

Documentation is available at
http://e-docs.bea.com/wls/docs60

Copyright © 2000 BEA Systems, Inc. All Rights Reserved.