• 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
saving pdf's to the database
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saving pdf's to the database


  • Subject: saving pdf's to the database
  • From: Tim Worman <email@hidden>
  • Date: Wed, 23 Sep 2009 08:45:29 -0700

WO'ers:

I am writing an application where users can upload pdf files - which my app saves to the database. I also need to have mechanisms in place where a "reviewer" can browse the documents that have been uploaded. The upload and saving to the database seems to be working. This is modeled as 'blob' and the class type is 'NSData.' The files are uploaded via AjaxFileUpload.

I have saved plain text files to the database before but I'm concerned that there is something more I need to do to save the pdf files. Are there special considerations for maintaining the mime type, continuity, etc. of these files before I save them as NSData to the database? Also, I am not sure how to present the files to the reviewer. I have converted text to pdf for viewing before but I'm stuck on reconstituting a pdf for display.

If anyone has any pointers or code examples that would really help me as I'm under a serious time crunch.

Tim
UCLA GSE&IS
_______________________________________________
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


  • Follow-Ups:
    • Re: saving pdf's to the database
      • From: John & Kim Larson <email@hidden>
  • Prev by Date: Re: Multi-Tenant Data Architecture
  • Next by Date: Re: saving pdf's to the database
  • Previous by thread: Re: WO WebServices & Java 1.6
  • Next by thread: Re: saving pdf's to the database
  • Index(es):
    • Date
    • Thread