<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> Example of fn:escapeXml Tag

fn:escapeXml

without fn:escapeXml with fn:escapeXml
${str1} ${fn:escapeXml(str1)}
${str2} ${fn:escapeXml(str2)}
${str3} ${fn:escapeXml(str3)}