File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
Other Open Source Projects
Author
ireport with struts2
sathya rajavel
Greenhorn
Joined: May 30, 2011
Posts: 8
posted
Aug 06, 2012 06:55:59
0
Here Arraylist contains value but the datasource returns null.please please help me
public String printPDF() { log.info("===========PDF Printing==============="); ArrayList<OperRepDTO> printpdf=new ArrayList<OperRepDTO>(); log.info(operRepList.size()); printpdf.addAll(operRepList); log.info(printpdf.size()); return SUCCESS;
<action name="printOperReport" class="OperRepAction" method="printPDF"> <result name="success" type="jasper"> <param name="location">/WEB-INF/CFS .jasper</param> <param name="dataSource">printpdf</param> <param name="format">PDF</param> </result> </action>
subject: ireport with struts2
Similar Threads
Problem in iReport3.7.1 ,Struts2
datasource for jasper report in struts.xml with struts2
Problem in struts2-jasperreports
generating pdf from jsp
Problem in using "exportParameters" in struts2
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter