Mantis - Resin
Viewing Issue Advanced Details
105 minor always 04-15-05 00:00 05-11-05 00:00
bearbibeault  
 
urgent  
closed 3.0.12  
3.0.12 fixed  
none    
none 3.0.13  
0000105: Tag file <jsp:doBody> doesn't assign properly within a <c:set>
RSN-96
The following tag file example does not work properly:

---
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" [^] prefix="c" %>

[<c:set var="abc"><jsp:doBody/></c:set>]

The body of the tag is: ${abc}
---


The body of the tag is emitted in-place (between the [ and ] characters, rather than being assigned to scoped variable "abc".

I do not believe that the Jakarta implementation of the JSTL is at fault since the very same example works without problem using Tomcat 5.0.25.
WinXPP
Jakarta JSTL 1.1.2

Notes
(0000121)
bearbibeault   
04-15-05 00:00   
P.S. I marked this with a high priority as it makes writing tag files that wish to manipulate the tag body impossible.
(0000122)
bearbibeault   
04-15-05 00:00   
I just discovered that Resin 3 has internal JSTL support, so I removed the Jakarta implementation of the JSTL from the web application. This did not change the reported behavior. I assume that Resin was using its own JSTL implementation all along and was ignoring the Jakarta jar files?
(0000123)
bearbibeault   
04-15-05 00:00   
More data: disabling fast-jstl had no effect on the issue.
(0000124)
ferg   
04-15-05 00:00   
jsp/1026