• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

generate csv

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How does this relate to Struts?
 
Rammohan Bandakunta
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic