Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

writing to CSV file from a servlet

 
Ruchee Goyal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm new to this forum so please forgive me if it's a duplicate question.
My problem is that i've the content coming in POST request of a servlet which is being sent as a single element in an arraycollection from Flex Builder client. and from the servlet i need to write that data to a csv file (inserting new line for a space or something)

let me know if you need me to explain further.
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You mean you want to know how to write to a file in csv format? There are numerous CSVParsers (and CSVWriter) which can do this. One of them is OpenCSV which has a CSVWriter which can do the job for you
[ April 16, 2007: Message edited by: Jaikiran Pai ]
 
Ruchee Goyal
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jaikiran,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic