Tag Libarray - Fn:replace

web 2009. 11. 26. 11:56

If you want to change a string some file, you can use fn:replace tag libs.

<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
..

<pre>
${fn:replace(content.value.summary,'<', '&lt;')} 
</pre>
..


In my case, I have to change '<' character to '&lt', because some tag.(ex. table) have priority over per..
So, I have to use it.
Posted by '김용환'
,