<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> No longer throws a JspException instead you get: java.lang.NumberFormatException: invalid
Not a bug. This is consistent with JSP.2.13.2.1: Conversion from String values, which specifies that if the target type is "int" or "Integer", the conversion from a String value is performed according to java.lang.Integer.valueOf(String), which will give you a java.lang.NumberFormatException for any string value that cannot be parsed as a number. JSP.2.13.2.1 states that "a conversion failure leads to an error, whether at translation time or request-time."