The browser pops up the file download for mime types it doesn't know how to
handle or to mime type that have specified that file downloading should
happen. In any case this is a client configuration.
If you can control the mime type of the file, try change it to something
that doesn't exist.
If you have control on the client machine, change the configuration of how
the browser handles this mime type. Netscape from it's preferences, IE from
the windows file type list.

Hope this helps
lee

Lee Elenbaas
RTS Israel
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Work: (972) 2 5810748 ext: 207
Fax: (972) 2 5815507
------- Life building in 2 easy steps --------------
- First design the best structure you can.
- Then implement it as simple as you can.
That's the best way to complicate life!

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Loganathan, Kamalesh
Sent: Monday, March 20, 2000 6:56 PM
To: [EMAIL PROTECTED]
Subject: File Download...

Hello All,

I've a problem in forcing the Browser to open the File Download dialog for
saving a file onto the desktop. I've a jsp which interacts with a datastore
(cached data from db) and saves the data in a file. I use 'SendRedirect' to
point the location of the file to download. But, it just prints the data on
the Browser window. I want it to prompt the 'File Download' dialog window.
(Probably, this is simple. I can't get to it).   Please help.

Thanks,
Kamalesh.

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

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

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to