org.apache.taglibs.standard.tag.common.sql .QueryTagSupport org.apache.taglibs.standard.tag.el.sql .QueryTag QueryTag public class QueryTag extends QueryTagSupport (Code) Subclass for the JSTL library with EL support.
author: Hans Bergstenauthor: Justyna Horwat
Constructor Summary public QueryTag () Constructs a new QueryTag.
Method Summary public intdoStartTag () public voidsetDataSource (String dataSourceEL) public voidsetMaxRows (String maxRowsEL) Query result can be limited by specifying
the maximum number of rows returned.public voidsetSql (String sqlEL) Setter method for the SQL statement to use for the
query.public voidsetStartRow (String startRowEL) The index of the first row returned can be
specified using startRow.
QueryTag public QueryTag()(Code) Constructs a new QueryTag. As with TagSupport, subclasses
should not provide other constructors and are expected to call
the superclass constructor
setDataSource public void setDataSource(String dataSourceEL)(Code)
setMaxRows public void setMaxRows(String maxRowsEL)(Code) Query result can be limited by specifying
the maximum number of rows returned.
setSql public void setSql(String sqlEL)(Code) Setter method for the SQL statement to use for the
query. The statement may contain parameter markers
(question marks, ?). If so, the parameter values must
be set using nested value elements.
setStartRow public void setStartRow(String startRowEL)(Code) The index of the first row returned can be
specified using startRow.