<c:set var="tooltip" value="${bean.notes}" />
<c:set var="showtext" value="${fn:substring(bean.notes, 0, 60)}..." />
It turns out that fn:substring(bean.notes, 0, 60) mutates the
String bean.notes so tooltip also ends up being truncated.
This is different behaviour from scriptlet code..
<%
String tooltip = bean.getNotes();
String showtext = bean.getNotes().substring(0, 60);
%>
In above tooltip will not be truncated (which is the expected behaviour).
Has anyone else seen this or its just a bug in the app server (Resin)?