Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

xsl:include from within Jar File

843834May 21 2004 — edited May 21 2004
Hi, I'm trying to include a xsl stylesheet from a Jar File which resides in my classPath.

What I'm currently specifying is:

<xsl:include href="jar:file:/letterPrintingClient.jar!/xsl/myXSL.xslt"/>
where the /xsl/myXSL.xslt is the path within the Jar itself. I've also tried it without the Jar path. But this does not work.

Does anyone have suggestions?

I'm using BES5.1 with Java 1.3

I can reference it by file like:

<xsl:include href="file://C:/xsl/myXSL.xsl"/>

or this also works:
<xsl:include href="jar:file:/somedirectory/modules/letterPrintingClient.jar!/xsl/myXSL.xsl"/>

but I do not want to reference a directory path. The jar I'm specify in in the ClassPath.

Any help would be appreciated.

Jim


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 18 2004
Added on May 21 2004
2 comments
1,090 views