This may not be Tomcat related, but I couldn't find anything in the
JSP/JSTL/EL specifications regarding a change in behavior from JSP
2.0-2.2.

Here's a simple JSP 2-line which shows the issue:

<%@taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>
<c:out value="${param['foo'] == 1}"/>

Using Tomcat 5.5.35 the page will print true for any value of foo
which converts to an integer:  1, 01, 001, etc.

Using Tomcat 7.0.25 the page will only print true if foo is 1.  01
will result in false.

Am I missing something or is this a bug in Tomcat 7?  I haven't tested
with TC6 yet.

-Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to