The following does not throw a JspException, instead a translation error occurs due to a NumberFormatException <sql_rt:query var="resultSet2" maxRows="invalid" dataSource='<%=(DataSource) pageContext.getAttribute("jstlDS ", PageContext.APPLICATION_SCOPE) %>' > <%=((Properties)pageContext.getAttribute("sqlProps",PageContext.APPLIC ATION_SCOPE)).getProperty("Simple_Select_Query") %> </sql_rt:query>
Not a bug. The JSTL spec does not say that invalid values may be reported only at runtime (even if they could have been detected at translation time).