Unfortunately, <jsp:include> is interpreted
differently than <% include %> (or at least
that was what I was told by JSP folks). The
<% %> version is a compile-time include but
<jsp:include> is run-time, so there are
performance issues with using the xml syntax.
Sara
> -----Original Message-----
> From: Guy McArthur [mailto:guym@xxxxxxxxxxxxxxx]
> Sent: Thursday, July 11, 2002 5:33 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: JSP includes in XSLT
>
>
> An option is to output the xml syntax for jsp 1.1/1.2:
>
> E.g.
>
> <?xml version="1.0"?>
> <?xsl-stylesheet href="default.xsl"?>
> <jsp:root
> xmlns:jsp="http://java.sun.com/products/jsp/dtd/jsp_1_0.dtd">
> <jsp:directive.page import="java.io.*, java.util.*"/>
>
> ...and so on... it is interpreted just like normal jsp.
>
> --
> Guy McArthur * email{guym@xxxxxxxxxxx} http{guymcarthur.com}
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|