WebLogic Server 6.0 Code Examples, BEA Systems, Inc.

examples.jsp.tagext.sql
Class ResultsTag

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

public class ResultsTag
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)  java.sql.ResultSet results
           
(package private)  java.lang.String rName
           
 
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
ResultsTag()
           
 
Method Summary
 int doAfterBody()
           
 int doStartTag()
           
 java.lang.String getFrom_query()
           
 void setFrom_query(java.lang.String r)
           
 
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

results

java.sql.ResultSet results

rName

java.lang.String rName
Constructor Detail

ResultsTag

public ResultsTag()
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

getFrom_query

public java.lang.String getFrom_query()

setFrom_query

public void setFrom_query(java.lang.String r)

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

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