Here is a sample application with a jsp, you will have to add FOP to the lib
folder in order to make it work. 
The source of the servlet filter is included as well.

For now, the filter first retrieves the complete response before
transforming it using Fop but i planned to improve it to make the
transformation on the fly and optimize memory use.
External graphics inside the webapp are supported.

There is no documentation at the moment.

Let me now if you have some ideas to improve it.

François-Xavier BONNET

-----Message d'origine-----
De : ??? [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 25 octobre 2007 12:06
À : [email protected]
Objet : ??: Fop Servlet Filter

I'm interesting in your filter. Can you send me some code about your
project?

        Thank you !

-----????-----
???: François-Xavier Bonnet [mailto:[EMAIL PROTECTED]
????: 2007?10?25? 17:54
???: [email protected]
??: Fop Servlet Filter

Hi all,

As i wanted to generate PDF documents from JSP, i wrote a Servlet Filter.

You just have to add the Servlet Filter to your webapp, then write some JSP
with FO tags instead of HTML and specify "fop/pdf" as content-type and
that's all.

If someone else is interested in this filter, i will be happy to help and
contribute.

François-Xavier BONNET 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





****************************************************************************
****************************************************
?????t???'[EMAIL PROTECTED]@pingan.com.cn

Warning tips:the Email Address of PING AN INSURANCE (GROUP) COMPANY  changes
into [EMAIL PROTECTED]
****************************************************************************
****************************************************



****************************************************************************
****************************************************
The information in this email is confidential and may be legally privileged.
If you have received this email in error or are
not the intended recipient, please immediately notify the sender and delete
this message from your computer. Any use, distribution,
or copying of this email other than by the intended recipient is strictly
prohibited. All messages sent to and from us may be 
monitored to ensure compliance with internal policies and to protect our
business. 
Emails are not secure and cannot be guaranteed to be error free as they can
be intercepted, amended, lost or destroyed, 
or contain viruses. Anyone who communicates with us by email is taken to
accept these risks. 

?'??
'??'??????'á?'
'????'??g???? 
****************************************************************************
****************************************************

Attachment: fopfilter.war
Description: Binary data

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to