Jasper + Struts2 Multiple reports in one action -
in struts.xml file
<action name="myjaspertest" class="com.sample.supplierenquiryreport"> <result name="success" type="jasper"> <param name="location">/reports/xyz.jasper</param> <param name="datasource">mylist</param> <param name="format">pdf</param> </result> </action>
i need return multiple pdf files after 1 action. possible?
no, ui jsp can:
- open multiple actions, each 1 returning pdf;
- open jsp, multiple
<iframe>
, each 1 pointing (withsrc
attribute) different action (or better, same, passing different parameters), , returning pdf.
then several pages each 1 pdf, or big page several iframes, each iframe pdf.
Comments
Post a Comment