The current jstl spec indicates a JspException should be thrown if maxRows <-1 for: <sql:query var="resultSet" dataSource="${application.jstlDS}" maxRows="-5" > <c:out value="${sqlProps.Select_Jstl_Tab1_By_Id_Query}" /> </sql:query>
Fixed.