posted 21 years ago
The need in my application is that i have to display an attachment in the browser to the user. Now whenever i read the file (.txt,image,.doc,.pdf etc) in a byte array and write it to the out stream of the response.
Now whenever this happens the browser by default displays the "Download box". I want to skip this.
why does this download box appears.. and how can i avoid it ?
-thanks in advance for any help.
-Kaustubh.