Are there any tricks? Hehe, you should ask if there is any NON-TRICKY
way! ;) Serving PDFs, whether from Struts or not, is notoriously a source
of major angst for many developers. The Acrobat browser plug-in is a
piece of garbage, IE does things differently than FF, SSL has an effect,
and so on
On 2/1/06, Garner, Shawn <[EMAIL PROTECTED]> wrote:
> Is there any trick in sending the user a pdf by setting the content type to
> application/pdf and then using the response.getWriter() to write out the
> data?
There is some information on this page:
http://wiki.apache.org/struts/StrutsFileDo
No, but I would recommend response.getOutputStream() in case the PDF
contains any binary data.
Garner, Shawn asked:
> Is there any trick in sending the user a pdf by setting the
> content type to application/pdf and then using the
> response.getWriter() to write out the data?
--
3 matches
Mail list logo