• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

generate csv

 
Rammohan Bandakunta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6450
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How does this relate to Struts?
 
Rammohan Bandakunta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic