Hello,

I am looking for an easy way in JSP / JavaBeans to
send the binary contents of PDF and image files to a
user's browser to allow them to download them as
complete files. If the user's browser supports
opening, for example, the PDF, then I would like the
browser to open it up on-line.

What's the easiest way to do this using JSP/JavaBeans?

Is it something like the following?:
setHeader();
response.setContentType(application/octet-stream);

Regards
Bernard

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
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://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