The moose likes Struts and the fly likes report generation in struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "report generation in struts" Watch "report generation in struts" New topic
Author

report generation in struts

manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
can any one tell me how to generate report in struts?

thanks in advance
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
What exactly do you mean by "report"? Struts is a web framework, so its output are HTML pages (for the most part). Is that what you want to generate? The standard library for generating HTML reports (as well as PDF, and maybe a few other formats) is JasperReports.
manas ranjan mandal
Ranch Hand

Joined: Apr 02, 2008
Posts: 97
i want to know that how to integrate jasper report in struts so that i can generate report?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Which version of Struts? In Struts 2 there's a plugin. In Struts 1 you'd have to create either a report file or stream and write it back to the response. Searching the web should give you several methods to do this.
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: report generation in struts
 
It's not a secret anymore!