John, We wrote a servlet that took the name of a URI as a parameter. That URI, essentially mapped to a JSP, whose output was FOP. The servlet: requested the URI, got the FOP, formatted the FOP, then sent that back to the browser. This may not be ideal for all situations, but it worked nicely for us.
You could look at using something like webmacro/velocity as it would be neater than a JSP for this. It depends on what you are doing. Regards, Nick ----- Original Message ----- From: "John Ng" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, February 17, 2002 3:16 PM Subject: FOP and strus > Hi, I am looking into FOP in generating PDF in > struts... the examples so far that I have seen are > only taking static XML files and XLS files. Can > someone tell me how to use FOP to generate pdf with > dynamic XML string (generated by some java objects) on > the fly? > > I would apprecaite if you could even provide me with > some sample code. > > Thanks > John > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Sports - Coverage of the 2002 Olympic Games > http://sports.yahoo.com > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

