aspose file tools*
The moose likes Other Open Source Projects and the fly likes Passing HashTable to the Reporting Engine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Passing HashTable to the Reporting Engine" Watch "Passing HashTable to the Reporting Engine" New topic
Author

Passing HashTable to the Reporting Engine

Ashish Uniyal
Greenhorn

Joined: Feb 01, 2003
Posts: 18
Hi,
I want to organise the passed HashTable to the Report filling operation at run time.

code:
Hashtable activityDataMax = new Hashtable();
parameters.put("maxActivityTime",activityDataMax);

JasperPrint jasperPrint = JasperManager.fillReport(jasperReport,
parameters, conn);


Though I have the Hashtable available, the problem is how to retrieve the key & values (iterate the hastable), and organize it in a well formatted way in the Designer XML.

Regards,
Ashish Uniyal
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Passing HashTable to the Reporting Engine