i figure out how the struts action to call jasper report.
below is the details :
report name : rpt_creditnote.jasper location : C:\jakarta-tomcat-5.5.9\webapps\usahawan\WEB-INF\report\
intention : to make sure the report is call successfully, this report have some static string inside but no parameters yet.
i use the below code to call report, it show only blank report with no static text where i have put in for testing, i put under page header part of report
my questions :
1. why it called successfully but no static text inside the report 2. i have forward it to "success", which is using tiles and it suppose have one menu page on top and result page at bottom(report should put in result page).
3. can someone provide me better example to display report in struts framework ?
thank you very much for reading and guiding me, your help is highly appreciated , have a nice day
Hi Nakata I have not worked much on Jasper but have a piece of code which might ans some Qs. ------- import net.sf.jasperreports.engine.*; import net.sf.jasperreports.engine.export.*; import net.sf.jasperreports.engine.data.*; import net.sf.jasperreports.engine.data.JRBeanArrayDataSource;