3 messages in org.apache.xmlgraphics.fop-usersRE: Fop Servlet Filter
FromSent OnAttachments
François-Xavier BonnetOct 25, 2007 2:53 am 
张晓通Oct 25, 2007 3:05 am 
François-Xavier BonnetOct 31, 2007 4:56 am.war
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:RE: Fop Servlet FilterActions
From:François-Xavier Bonnet (fran@smile.fr)
Date:Oct 31, 2007 4:56:35 am
List:org.apache.xmlgraphics.fop-users
Attachments:
fopfilter.war - 13k

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.

-----Message d'origine----- De : ??? [mailto:ZHAN@pingan.com.cn] Envoyé : jeudi 25 octobre 2007 12:06 À : fop-@xmlgraphics.apache.org 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:fran@smile.fr] ????: 2007?10?25? 17:54 ???: fop-@xmlgraphics.apache.org ??: 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: fop-@xmlgraphics.apache.org For additional commands, e-mail: fop-@xmlgraphics.apache.org

**************************************************************************** **************************************************** ?????t???'??XX@paic.com.cn?XX@pingan.com.cn

Warning tips:the Email Address of PING AN INSURANCE (GROUP) COMPANY changes into XX@pingan.com.cn **************************************************************************** ****************************************************

**************************************************************************** **************************************************** 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???? **************************************************************************** ****************************************************