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 and so forth.  The list of problems is many!

Check this Wiki entry out though:

http://wiki.apache.org/struts/StrutsFileDownload

While it does not address all the various PDF concerns, it does mention
some things that may be helpful.

This strikes me as a good Wiki entry, so I've created one:

http://wiki.apache.org/struts/ServingPdfDocuments

Anyone who wants, please add to this as appropriate.  There's certainly
plenty more to be said on the subject :)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]

On Wed, February 1, 2006 2:55 pm, Garner, Shawn said:
> 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?
>
>
>
> Shawn
>
>
>
>
> ****************************************************************************
> This email may contain confidential material.
> If you were not an intended recipient,
> Please notify the sender and delete all copies.
> We may monitor email to and from our network.
> ****************************************************************************
>


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

Reply via email to