Sample: <c:set var="code">sample code</c:set> <str:overlay start="10" end="10" with="${code}">12345678901234567890</str:overlay> Return: 1234567890${code}1234567890 Must return: 1234567890sample code1234567890
Confirmed in latest.
Although in the latest the value is 12345678901234567890. Might be a Cactus side effect.
Cancel that. I didn't have the JSTL c: taglib imported. This is working fine in the latest Tomcat (6) with the latest String taglib. That will be because later versions of the JSP spec (2.0+ I believe) take care of the EL execution. This was definitely a problem before 2.0 and not worth the effort to try and fix as it was JSTL implementation dependent iirc.