pnvswamy Posted October 20, 2008 Share Posted October 20, 2008 Hi to all, I am using jasper reports with struts.It is working fine.I am passing arrylist from java to the JasperDesign. Upto now i am using a Java Bean with String properties only. Now i want to use the ArrayList fileds in the Beans.Please help me to display the arrayList fields in the reports.Thank you, Link to comment Share on other sites More sharing options...
shrije Posted October 20, 2008 Share Posted October 20, 2008 You have to use JRBeanCollectionDataSource(Collection) This is a collection of javabeans or an array of java beans. And these javabeans represent the fields in your report. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now