Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to DownLoad CSV file from FileNet Server Using Java

 
chalicham rambabu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

I have an issue,My application will allow user to click a hyperLink(fileName to be downloaded) and when the user clicks it should open a windows file save dialog to save it a specific location and after selecting particular location it should download that file(CSV) from fileNet server,I have to write JavaCode for this.Please help me to solve this issue

ManyThanks
Chalicham
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35753
412
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chalicham,
Welcome to JavaRanch!

There are two MIME headers that you need to set. The first one sets the file type (such as text or excel.) The second one tells the browser you want to download the file instead of view it in the browser.
 
chalicham rambabu
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne Boyarsky
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!