GeeCON Prague 2014*
The moose likes JSP and the fly likes Content - Dispositon. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSP
Bookmark "Content - Dispositon." Watch "Content - Dispositon." New topic
Author

Content - Dispositon.

Sujatha Kumar
Ranch Hand

Joined: Jan 05, 2004
Posts: 134
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.


SCJP,SCWCD,SCBCD,SCEA Part I
 
wood burning stoves
 
subject: Content - Dispositon.