Re: [OT] Serving an pdf file in a struts action

2006-02-01 Thread Frank W. Zammetti
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

Re: [OT] Serving an pdf file in a struts action

2006-02-01 Thread Wendy Smoak
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

RE: [OT] Serving an pdf file in a struts action

2006-02-01 Thread George.Dinwiddie
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? --