public class ResultSupport
extends java.lang.Object
Supports the creation of a javax.servlet.jsp.jstl.sql.Result object from a source java.sql.ResultSet object. A Result object makes it much easier for page authors to access and manipulate the data resulting from a SQL query.
| Constructor and Description | 
|---|
| ResultSupport() | 
| Modifier and Type | Method and Description | 
|---|---|
| static Result | toResult(java.sql.ResultSet rs)Converts a  ResultSetobject to aResultobject. | 
| static Result | toResult(java.sql.ResultSet rs,
        int maxRows)Converts  maxRowsof aResultSetobject to aResultobject. | 
public static Result toResult(java.sql.ResultSet rs)
ResultSet object to a Result object.rs - the ResultSet objectResult object created from the ResultSetpublic static Result toResult(java.sql.ResultSet rs, int maxRows)
maxRows of a ResultSet object to a 
 Result object.rs - the ResultSet objectmaxRows - the maximum number of rows to be cached into the Result object.Result object created from the ResultSet,
 limited by maxRows