• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem with File Downloading Program  RSS feed

Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I write a program that take the data from CLOB column and send this to user as file. My program is as follows :

PrintWriter pw = response.getWriter();

response.addHeader("Content-Disposition", "attachment; filename="+fileName);
//Code to get the data from DB
// Save the data in String fileData;
}catch(Exception ex){}


but whenever the program executes, it ask to open/save file. After clicking on any button, the mouse cursor suggesting the
process is going on, I waited for long time but on the page it still suggesting processing. File downloaded and it is fine.

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!