Hello Ramesh,
This is not browser that does force the file to download...
Its basically a content type property that you are setting...
the following code will force your browser to give your file as download.

response.setContentType("application/csv");
response.setHeader("Content-Disposition","attachment;
filename="UPLOAD.csv;");
Do revert me if you anymore clarifications...

Yogaraj

-----Original Message-----
From: Kesav, Ramesh [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 14, 2002 5:29 PM
To: [EMAIL PROTECTED]
Subject: download popup


Hi all,

 when you start to download from websites you see a popup window asking  you
to open from the same location / save it to disk.
can anybody let me know how to do this.

Regards

Ramesh Kesavanarayanan
[EMAIL PROTECTED]

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to