Subject: RE: [xsl] JSP includes in XSLT From: David Nelson <David.Nelson@xxxxxxxxxxxxxx> Date: Fri, 12 Jul 2002 13:34:23 -0500 |
I guess I'm going to chime in on this. The only performance hit that you should see is the single call it takes to retrieve the include which technically shouldn't be noticeable compared its counterpart. In my experience, performance isn't really the issue. The issue was learning how to correctly write the include to accept parameters at runtime in order to retrieve a result. --> -----Original Message----- --> From: sara.mitchell@xxxxxxxxx [mailto:sara.mitchell@xxxxxxxxx] --> Sent: Friday, July 12, 2002 11:47 AM --> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx --> Subject: RE: [xsl] JSP includes in XSLT --> --> --> 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: [xsl] 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 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] JSP includes in XSLT, Guy McArthur | Thread | [xsl] Re: RE: xslt 2 grouping, Dimitre Novatchev |
RE: [xsl] JSP includes in XSLT, Guy McArthur | Date | Re: [xsl] Re: WML input problem, Joerg Heinicke |
Month |