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, javax.servlet.jsp.tagext.IterationTag, 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_BUFFERED, EVAL_BODY_TAG |
| 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 |
| 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 |
debug
static final boolean debug
names
java.util.Enumeration names
session
javax.servlet.http.HttpSession session
ListTag
public ListTag()
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
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.