BEA WebLogic Server 9.0 API Reference
weblogicx.jsp.tags
Class QueryTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.tagext.BodyTagSupport
weblogicx.jsp.tags.QueryTag
- All Implemented Interfaces:
- BodyTag, IterationTag, JspTag, Serializable, Tag
- public class QueryTag
- extends BodyTagSupport
The query tag allows you execute SQL against a data source and
manipulate the results of the query.
- See Also:
- Serialized Form
- Copyright © 2005 BEA Systems, Inc. All Rights Reserved.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QueryTag
public QueryTag()
doAfterBody
public int doAfterBody()
throws JspException
- Throws:
JspException
doInitBody
public void doInitBody()
throws JspException
- Throws:
JspException
doStartTag
public int doStartTag()
throws JspException
- Throws:
JspException
getDb
public String getDb()
getId
public String getId()
getSql
public String getSql()
release
public void release()
- Clean up on failure of the body to execute.
setDb
public void setDb(String db)
- This is the name of the datasource as specified in the war file.
setId
public void setId(String id)
- The id of the ResultSet returned from the query.
setSql
public void setSql(String sql)
- This is the SQL query to execute against the datasource.