I was doing exactly what you described until another list member(Mike
Hewitt) set me straight. You don't have to save database files to the
server at all. If you take a look at Mike's solution sent out on 3/17
you'll find a great way to send content from a database directly to the
client. If you want to force the Save/Open dialog even if the browser has a
plugin which enables the content to be opened in the browser(eg. if the
content's mime type is pdf, popular browsers will load the content into the
browser), set the content type to "unknown".
-----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 9:56 AM
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