Torsten - That is what I ended up doing as I could not get the Struts 2 
JasperReports plug-in to work with the XML data source.

Bruce

-----Original Message-----
From: Torsten Krah [mailto:[EMAIL PROTECTED] 
Sent: Monday, October 27, 2008 4:53 PM
To: Struts Users Mailing List
Subject: Re: Struts 2 JasperReports Plugin How to Use XML As The Data Source

Am Montag, 27. Oktober 2008 schrieb Phillips, Bruce A:
> Any help would be greatly appreciated.

Use the stream Result of Struts2 and construct your PDF with Jasper "without 
the plugin".
Take a look at the examples of JR (sourcecode included in the JR download) - 
there is a good example with XML Datasource too there.
Build your pdf with JRPdfExporter and use StreamResult to get the actual 
stream.

Reply via email to