Hello,
I also load XSL style sheets from a jar and without problems. I do not
have any special config line in web.xml nor appengine-web.xml.
Only if your XSL style sheets were put directly in the WAR and outside
WEB-INF folder, then you would have to add to the appengine-web.xml
something like this (for example if xslPath=/resources/your.xsl):
<resource-files>
<include path="/resources/*.xsl" />
</resource-files>
Does you XSL is an all-in-one style sheet or do you import/include any
other style sheets ?
Which XSLT implementation do you use ?
I use Xalan - I put all xalan libraries into WEB-INF/lib. Also for
xalan - the xsl:output throws an exception - see
http://code.google.com/p/googleappengine/issues/detail?id=1367 comment
21
Vaclav
On Feb 13, 8:39 pm, derkent <[email protected]> wrote:
> I am using a jar which is doing the following :
>
> new
> StreamSource(getClass().getClassLoader().getResourceAsStream(xslPath)));
>
> It is loading an xsl style sheet from a jar.
>
> If I use the library locally everything is ok, but if I try to do the
> same thing in an app engine servlet, it can't find the resoruce.
>
> How do define the web.xml for this problem, or is their another
> solution?
>
> thanks.
--
You received this message because you are subscribed to the Google Groups
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en.