On 4/25/06, Bruso, John <jbruso@xxxxxxxxxxxx> wrote:
> Can an XSL style sheet make a .jsp call?
>
> If so, how?
>
> I have an XSL document that renders from XML, but I need to include a
> file in the document. It's a complex javascript file. I'm using script
> src="{$themePath}/webtrends/sdc.js" type="text/javascript"><xsl:text>
> </xsl:text></script> right now, but it has to execute on the client, and
> is really slow. I thought if I could include the file in some other way,
> say JSP, I could improve the performance.
>
> Any advice would be helpful.
If the transforms are done server side make the result of the
transform a jsp that includes the javascript.
Alternatively, pass the javascript as a parameter and use that
directly, ymmv on that one....
|