Mantis - Resin
Viewing Issue Advanced Details
443 minor always 11-02-05 00:00 11-30-05 10:19
sam  
ferg  
high  
closed 3.0.14  
3.0.14 fixed  
none    
none 3.0.16  
0000443: c:if fails unless <jsp/> present
RSN-492
<%@ taglib prefix='c' uri='http://java.sun.com/jsp/jstl/core' [^] %>
<% pageContext.setAttribute("a", new Boolean(true)); %>
<c:if test="${a}" var="y"/>
<c:if test="${not a}" var="z"/>
y: <c:out value="${y}"/>
z: <c:out value="${z}"/>

Erronously produces:

y: false
z: false

Unless the <jsp/> directive is included in web.xml:

<web-app>
  <jsp/>
<web-app>

y: true
z: false


Notes
(0000473)
ferg   
11-02-05 00:00   
jsp/1c0v