You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Mike Kellstrand <mi...@rapix.com> on 2003/09/12 03:33:02 UTC
Installing FOP for use in servlet under Tomcat
I have downloaded FOP from Apache and used it to write a xsl-fo java application.
I added the FOP jars to the j2sdk/jre/lib/ext dir. Everything works fine.
Now I want to use this code in a servlet. Where do I install the jars for Tomcat
to use them? I've tried putting them in several different lib dirs, but the same
code gets transform exceptions.
I ran into this same problem last year. I spent a long time juggling jars
around different lib dirs until I got the right combination.
How do I add the FOP jars in so they work?
Thanks!
Mike
Re: Installing FOP for use in servlet under Tomcat
Posted by Glen Mazza <gr...@yahoo.com>.
The general rule is to wrap the FOP jars, along with
any other your servlet app will need, with your web
application. (i.e. in webapps\mywebapp\lib)
To simplify things, I don't believe you need Xerces or
Xalan libraries in Tomcat anymore if you're running
J2SE 1.4--it may be helpful to remove them as well.
The Tomcat (and Struts) user lists tend also to be
very helpful:
http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=fop&q=b
Glen
--- Mike Kellstrand <mi...@rapix.com> wrote:
> I have downloaded FOP from Apache and used it to
> write a xsl-fo java application.
> I added the FOP jars to the j2sdk/jre/lib/ext dir.
> Everything works fine.
>
> Now I want to use this code in a servlet. Where do I
> install the jars for Tomcat
> to use them? I've tried putting them in several
> different lib dirs, but the same
> code gets transform exceptions.
>
> I ran into this same problem last year. I spent a
> long time juggling jars
> around different lib dirs until I got the right
> combination.
>
> How do I add the FOP jars in so they work?
>
> Thanks!
>
> Mike
>
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org