Bug 45937

Summary: Function ':not' not found
Product: Tomcat 6 Reporter: Duong <duong.thai.le>
Component: Servlet & JSP APIAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED DUPLICATE    
Severity: regression    
Priority: P2    
Version: 6.0.18   
Target Milestone: default   
Hardware: PC   
OS: Windows XP   

Description Duong 2008-10-02 08:22:59 UTC
The following sample code works in 6.0.16 but not 6.0.18.

<c:set var="a" value="false"/>
<c:set var="b" value="false"/>
<c:set var="c" value="false"/>

<c:out value="${not((not a) && (not b) && (not c))}"/>

Using a bang for the first not works.

<c:out value="${!((not a) && (not b) && (not c))}"/>

From looking at the JSP spec, the "not" and "!" are interchangeable.
Comment 1 Mark Thomas 2008-10-03 05:54:34 UTC
Sorry - my bad. It will be fixed in 6.0.19

*** This bug has been marked as a duplicate of bug 45511 ***