There is really nothing special about serving a PDF document other than
setting the correct MIME type.  If you are using Tomcat to serve static PDF
files, just make sure the file extension is .PDF and the browser should
recognize it properly.  If you are dynamically generating the PDF and
sending it back as a byte stream, just set the Content Type header to
"application/pdf" and send the data back through the output stream.  You
will have to do this with a servlet as a JSP page tries to treat everything
as text.

-----Original Message-----
From: Elizabeth Fisher [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 1:01 PM
To: Tomcat Users List
Subject: byte serving PDFs


Does Tomcat support byte serving of PDFs?

-Elizabeth

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to