xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paul.beza...@sgcib.com
Subject Re: Integrating FOP in a Project
Date Thu, 08 Jul 2004 16:04:35 GMT

I work on a local "Dev" server that is an Apache Tomcat 4.0 so i use the
default configuration (except few minor things)
In the future i won't use the file system, i will send pdf direct in the
outputstream of my servlet !

                                               To:       fop-user@xml.apache.org         
                      07/08/04 05:56 PM        cc:                                       
                      Please respond to        Subject:  Re: Integrating FOP in a Project

paul.bezault@sgcib.com wrote:
>       File pdffile = new File("C:/Resultat.pdf");

Does your server have a C: drive? :-)
Furthermore, it's almost always a waste to use DOM trees for
intermediate XML documents. Check out the code samples on the
FOP website for more information.

But neither of these appears to be your problem:
> And my problem is that i haven't any exception or error but the program
> never go out of the "Driver driver = new Driver()"

This method doesn't do much except setting up the element
mapping tables. In particular it doesn't do anything to
the output stream. It tries to get a class loader for accessing
the mapping property files though, which might be a problem.
Whats your environment on the server? Are there any user written
class loaders or such? Security policies?

To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

The sender's email address has changed to 
firstname.lastname@ sgcib.com. You may want to update your 
personal address book. Please see http://www.sgcib.com for more 
This message and any attachments (the "message") are confidential
and intended solely for the addressee(s). Any unauthorised use or
dissemination is prohibited. E-mails are susceptible to alteration.
Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
shall be liable for the message if altered, changed or falsified.
L'adresse mail  de votre correspondant a change en prenom.nom@ sgcib.com.
Il est recommande de mettre a jour votre carnet d'addresse
personnel.Pour plus d'informations, aller  sur http://www.sgcib.com
Ce message et toutes les pieces jointes (ci-apres le "message")
sont confidentiels et etablis a l'intention exclusive de ses
destinataires. Toute utilisation ou diffusion non autorisee est
interdite. Tout message electronique est susceptible d'alteration.
La SOCIETE GENERALE et ses filiales declinent toute
responsabilite au titre de ce message s'il a ete altere, modifie
ou falsifie.

To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org

View raw message