• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WOComponent for Displaying PDF Problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOComponent for Displaying PDF Problem


  • Subject: Re: WOComponent for Displaying PDF Problem
  • From: Dov Rosenberg <email@hidden>
  • Date: Fri, 13 Oct 2006 13:11:45 -0400
  • Thread-topic: WOComponent for Displaying PDF Problem

Make sure to set the mime type to application/pdf or
application/octet-stream

That will allow the browser to use the correct helper application to display
the content


On 10/13/06 9:30 AM, "Carter Wojcik" <email@hidden> wrote:

> Hi All -
>
> I have followed Chuck Hill's example for generating a
> PDF in Practical WebObjects Chapter 11 XML and
> WebObjects to create a WOComponent to retrieve a pdf
> from my database and display it in Safari. The problem
> I am having is that when the component is displayed, I
> end up with a blank browser page.  But when I view the
> source, I can see that the pdf is there.  My page
> consists of only the component to display the pdf.
> The component contains the code that Chuck supplied in
> his book (modified to use the database pdf instead of
> the generated pdf).  Are there any additional
> bindings/code that need to be added to correctly
> display the pdf in Safari?
>
> Thanks for all your help.
>
> Carter
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
Dov Rosenberg
Inquira Inc
370 Centerpointe Circle, ste 1178
Altamonte Springs, FL 32701
(407) 339-1177 x 102
(407) 339-6704 (fax)
(407) 310-8316 (cell)
email@hidden
AOL IM: dovrosenberg


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >WOComponent for Displaying PDF Problem (From: Carter Wojcik <email@hidden>)

  • Prev by Date: Re: Tomcat deployment woes
  • Next by Date: Re: faultWithPrimaryKeyValue, make sure it only returns a fault
  • Previous by thread: WOComponent for Displaying PDF Problem
  • Next by thread: Re: WOComponent for Displaying PDF Problem
  • Index(es):
    • Date
    • Thread