Bug 8218 - javax.servlet.jsp.jstl.sql.maxRows
Summary: javax.servlet.jsp.jstl.sql.maxRows
Status: RESOLVED FIXED
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: 1.0
Hardware: All All
: P3 major (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-17 17:20 UTC by Lance Andersen
Modified: 2004-11-16 19:05 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lance Andersen 2002-04-17 17:20:48 UTC
QueryTagSupport.java does not allow for javax.servlet.jsp.jstl.sql.maxRows to be
passed as an Integer:

     public int doStartTag() throws JspException {
         if (maxRows == -999) {
             try {
                 maxRows = Integer.parseInt(
                     (String) Config.find(pageContext, Config.SQL_MAXROWS));
             } catch (Exception ex) {
                 maxRows = -1;
             }
         }


10.12.2 Indicates the type can be Integer
Comment 1 Jan Luehe 2002-04-17 18:12:41 UTC
Fixed. Config.SQL_MAXROWS now may be of type String or Integer.