public class QueryTag extends QueryTagSupport
<query>
using the container's EL implementation.dataSourceSpecified, maxRows, maxRowsSpecified, rawDataSource, sql, startRow
Constructor and Description |
---|
QueryTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag()
Prepares for execution by setting the initial state, such as
getting the
Connection |
void |
release() |
void |
setDataSource(String expression) |
void |
setMaxRows(String expression) |
void |
setSql(String expression) |
void |
setStartRow(String expression) |
addSQLParameter, doCatch, doEndTag, doFinally, setScope, setVar
doAfterBody, doInitBody, getBodyContent, getPreviousOut, setBodyContent
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue
public int doStartTag() throws javax.servlet.jsp.JspException
QueryTagSupport
Connection
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class QueryTagSupport
javax.servlet.jsp.JspException
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.BodyTagSupport
public void setDataSource(String expression)
public void setSql(String expression)
public void setStartRow(String expression)
public void setMaxRows(String expression)
Copyright © 2001–2023 The Apache Software Foundation. All rights reserved.