File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Content - Dispositon.

 
Sujatha Kumar
Ranch Hand
Posts: 134
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ranchers,

In one of my applications, when the user clicks submit button i should generate a text file and prompt the user to open the file.

The application prompts the file, but when i use the open the option
it opens an empty text file whereas if i use save option it saves the
file with all the contents.

Following is the code



By the way i am using XP Service Pack 1.

Any thoughts on this issue.... is higly appreciated.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic