• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to save multiple report files??

 
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If I have created multiple reports and want to save on same click how could i do that?? for now i am only dealing with single report file .........please respond to my thread very eager to know the answers for it....

Thanks
kaustubh

Edited by Dave: Please don't keep posting links to your other posts.
 
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can you please give some more details... Like how have you created report ? and which save option are you talking about ?
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yup ...well actually right now I am only creating single report at a time....now my new task is to create multipul reports which will generated on one place while selecting an option ....right now when i click my export button I've got only a single report and a pop-up to save the file now when I click of this export button at this event I've to map this different-different reports and when I got this pop-up(if no pop-up to save some it will work also just save all files on some define place) for saving the file all of bunch of report got save there....

No my problem is 1). How to create more than one report on single time.....
2)How to save all files .....

hope you got the idea about my problem now..

Thanks
Kaustubh
 
Jigar Naik
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well, i do not have much idea if it's possible using JR. but what you can do is.
1) Generate all the report on server OR generate reports on server which user wants to export.
2) When user clicks on export button,
3) Create a zip file containing all the reports.
4) Send the zip file using ServletOutputStream.

 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not tried it yet soon use my hand on it..Thanks dude ...if i got any problem will come to you ...
 
Jigar Naik
Ranch Hand
Posts: 763
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Let me know if it works or let me know if you find batter solution.

good luck
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'll do for sure..
Thanks
 
Author
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Kaustubh

I am wondering what framework and server you are using. For example, are you doing all this in a JSP or a JSF application?
 
Kaustubh G Sharma
Ranch Hand
Posts: 1283
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi bilal thanks for reply actually I am using struts framework and for making reports I am totally using jasper report...
 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
there you go


 
author
Posts: 90
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

jiten kothari wrote:there you go



While that will work, it's not the best way to do it.
Please read Chapter 6 of "iText in Action".
I suggest you use PdfCopy or PdfSmartCopy depending on how "different" the documents are.
reply
    Bookmark Topic Watch Topic
  • New Topic