Thanks, but isnt there any other way to open a pdf file from a jsp file?
-----Original Message----- From: Anthony Tagunov [mailto:[EMAIL PROTECTED]] Sent: 25 January 2002 13:37 To: Shahata, Ashraf Cc: [EMAIL PROTECTED] Subject: Re[2]: Loading pdf files using jsp Hello Ashraf! SA> <%@ page import = "java.io.*, java.util.* " contentType="application/pdf" %> Do not serve binary content with JSPs. Serve binary content with servlets. I guess PDFs are binary. =========================================================================== 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
