Example is using JSTL 1.1 and EL:
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="x" uri="http://java.sun.com/jsp/jstl/xml"%>
<c:import var="xml" url="/sample.xhtml"/>
<c:import var="xsl" url="/stlyesheet.xsl"/>
<x:transform xml="${xml}" xslt="${xsl}">
<x:param name="request" value="${pageContext.request}" />
<x:param name="response" value="${pageContext.response}" />
</x:transform>
Check also the other JSTL related blogs:
- The JSTL Fine Print
- JSTL request attribute
No comments:
Post a Comment