• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Creating reports in struts

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
The only taste of success some people get is to take a bite out of you. Or this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic