Thanks for the response.
I put my Tomcat back into a "stock" state and
copied the fop, batik, avalon, and xalan jars from the FOP package
into my WEB-INF/lib dir.
I restarted Tomcat and got the following when my code ran:
The output format must have a '{http://xml.apache.org/xslt}content-handler'
property!
This java code / xslt combination DOES work outside of Tomcat.
What do you think?
Thanks, Mike
----- Original Message -----
From: "Shapira, Yoav" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Friday, September 12, 2003 11:33 AM
Subject: RE: FOP code runs standalone, but not in a Servlet
>
> Howdy,
> You want to put all your jars in WEB-INF/lib. What are the errors
> you're getting?
>
> Yoav Shapira
> Millennium ChemInformatics
>
>
> >-----Original Message-----
> >From: Mike Kellstrand [mailto:[EMAIL PROTECTED]
> >Sent: Friday, September 12, 2003 11:27 AM
> >To: [EMAIL PROTECTED]
> >Subject: FOP code runs standalone, but not in a Servlet
> >
> >I have Java FOP (XSLT-FO PDF converter) code that runs great from the
> >command line if I put the fop, batik, avalon, and xalan jars
> >in the JAVA_HOME\jre\lib\ext dir.
> >
> >If I put this code in a servlet under Tomcat 4.1.24, I get transform
> >errors.
> >
> >I have tried putting the FOP jars in various Tomcat lib dirs,
> >in webapps with the servlet, etc. Everywhere I move these jars
> >I get different amusing transform exceptions, but it doesn't run.
> >
> >1) Where do the jars need to go?
> >2) Are there any parser jars that come with Tomcat that need to get
> >removed.
> >I tried removing the 2 jars that are in /common/endorsed, but that
> didn't
> >help.
> >
> >This is driving me nuts!
> >
> >Many thanks!
> >
> >Mike
>
>
>
> This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged. This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else. If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender. Thank you.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]