Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Creating reports in struts

 
VenuGopal Reddy P
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I am developing a web application using struts, there I need to generate some reports which can be printed if needed. can anybody suggest me how that can be achieved in struts.


Thanks,
Kitti


 
Tom Rispoli
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your question is a little bit vague. If your concern is how to display the same data in a format that is good for viewing versus a format that is good for printing you could set up separate results in your struts-config.xml (or struts.xml if you're in struts2) file for your action. Each result could take you to a jsp (one for viewing one for printing) and you could decide which you wanted to go to in your action class. If this wasn't what you were looking for please post a more specific question.
 
binu narayanan
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reddy

you can be little more specific.

If your are talking about any reporting tool then i would suggest Jasper Reports

or just presentation of data in a grid view or table format even a jsp can handle it

 
VenuGopal Reddy P
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reply.

I know the ireport tool, but i would like to use itext or pdf box libraries to create and print the reports.are there any other libraries to create pdf reports? Can you please suggest the best one? And i do not want to present any data in a grid view or table.


Thanks,
Kitti
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic