Hi Vadivel, You can try the following :
1. Set the header "Content-Disposition" to have the type "attachment" 2. If your header "Content-Type" with value of "application/vnd-excel" doesn't work, you can try setting "Content-Type" header to have "application/as-you-wish" (just to cheat the browser about Excel type) HTH John -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED] Behalf Of kulandaivadivel Duraisamy Sent: Tuesday, August 12, 2003 6:55 PM To: [EMAIL PROTECTED] Subject: offline question Hi All, This is offline question.. I have excel files stored in the webserver. when the user download these files, it directly opens in the browser. But i want to ask for a prompt like open or save.. how to do? do i need to do some setting in IE or in webserver. Thanks in advance. Vadivel Disclaimer Statement: ------------------------------ The information contained in this message is confidential and proprietary to Datamatics Technologies Limited, Mumbai, India. It is intended only for the use of the individual or entity to whom it is addressed. If you are not the intended recipient, or the authorized agent thereof, you are hereby notified that any disclosure, use, distribution, dissemination or copying in any form of any information contained in this message is strictly prohibited. If you have received this message by mistake or error, please notify us immediately by return email to the sender or by fax on number +91-22-28291673 and delete all copies of the original message. ------------------------------ =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com