aspose file tools*
The moose likes Struts and the fly likes generate csv Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "generate csv " Watch "generate csv " New topic
Author

generate csv

Rammohan Bandakunta
Greenhorn

Joined: Aug 17, 2005
Posts: 9
Hi,

I need to generate an csv output as against the regular jsp,

one way i tried is generating .csv file using (io) from DAO and in the front end using a function to open the file in window.

problem is the csv (stored in the project) doesnot get updated until, click on the output submit button twice.

please ,suggest a way to generate xml doc and xslt which in turn generates a csv or using mime type ,I am bit confused as i dont know how I should ..do it
Jason Menard
Sheriff

Joined: Nov 09, 2000
Posts: 6450
How does this relate to Struts?
Rammohan Bandakunta
Greenhorn

Joined: Aug 17, 2005
Posts: 9
i am working on struts project where in the output needs to be in a csv format or text format that could be an input into mainframe application.

i am good with the input for which i am using jsp and further form bean and action classes which call an DAO method to enter the contents in to database but at this point action mapping is done to an jsp for an output which is perfect and working fine

requirement is the output needs to be in csv (excel) and other formats.

suggestion as i need to put efforts in to xml,xslt or mime or any other things

Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: generate csv
 
Similar Threads
Export data to csv if the user search exceed 50 results
Plotting a graph in Excel
How to download a csv file through java without using input and output streams
java code to export mssql data into csv file
Suggestion required