aspose file tools*
The moose likes Other Open Source Projects and the fly likes Generating pdf,csv file from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Generating pdf,csv file from jsp" Watch "Generating pdf,csv file from jsp" New topic
Author

Generating pdf,csv file from jsp

prathamesh bandivadekar
Ranch Hand

Joined: May 22, 2008
Posts: 43
Hi all,

I have a question on the subject i wrote above i.e. generating pdf, csv file from jsp.


My question is as follows -:

If i want to download the data present in the jsp wile into pdf or csv file;where will my coding will go.
i.e. whether i have to write my code in jsp or in bean.
or i have to create a pdf or workbook object and send it across the network to jsp file.
The result displayed on the jsp is in session in the form of Vector.

Thanks in adavance.

Cheers!!!
Pratham.


Prathamesh M.B.<br />Java....only.....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39552
    
  27
Since you mention CSV, I assume that the data has a tabular or list form. In that case the easiest way is probably to use the displaytag library for displaying the data; once it knows how to access the data in order to create HTML, it can provide PDF, XLS and CSV downloads with no additional coding.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generating pdf,csv file from jsp
 
Similar Threads
spredsheet should disply the dynamic data
opening PDF from JSP
Correct Generated File Extensions from Action
Page Number in Excel jasper Report
How to download different files in struits dppending on the file format