Re: [appengine-java] Re: PDF Files

2010-07-18 Thread Conor Power
it doesn't sound like you need to generate the PDF using a library if it's
stored as a blob ... can't you just set the content type to be
application/pdf and stream the blog contents?

your servlet just needs the key or some mapping to look up the blob.

otherwise, i wrote a summary of my experiences with PDF generation a while
ago:

http://conorjpower.com/2010/01/11/pdf-generation-in-java/

C


On Sun, Jul 18, 2010 at 5:12 AM, Khor Yong Hao  wrote:

> Your Problem is not using iText to generate PDF content and download it,
> but is able to allow user upload their own PDF and providing download,
> right?
>
>
> On Thu, Jul 15, 2010 at 3:25 PM, dovm  wrote:
>
>> Hi,
>>
>> Check this one
>> http://www.pdfjet.com/java/index.html
>>
>> They claim to support Google App Engine
>>
>> =Dov
>>
>>
>>
>> On Jul 15, 7:57 am, Daniel  wrote:
>> > But it says that on" Will it play in App Engine"
>> >
>> > That its incompatible:
>> >
>> > iText
>> > Version(s): ?
>> > Status: INCOMPATIBLE
>> >
>> > * iText relies on several classes not in the JRE class whitelist
>> > including java.awt.Color and java.nio.MappedByteBuffer. A bug has been
>> > filed athttp://
>> sourceforge.net/tracker/?func=detail&atid=365255&aid=2810312&g
>> >
>> > On Jul 15, 7:51 am, Shyam Visamsetty  wrote:
>> >
>> > > Chris,
>> >
>> > > Did you want to generate a PDF File on the GAE?
>> > > If yes, you can use the iText library for generating the pdfs on the
>> > > app engine. You can have a servlet to download the PDF file you
>> > > generated.
>> >
>> > > Thanks,
>> > > Shyam Visamsetty
>> >
>> > > On Jul 14, 1:36 pm, chrischelmi  wrote:
>> >
>> > > > Helle every body,
>> > > > I am working on a Google App Engine Project that consists of
>> uploading
>> > > > PDF files and displaying it after.
>> > > > I use a Blob to store the PDF file
>> > > > i want to do a process to download this PDF file by giving the a
>> > > > specifics name.
>> > > > Is there a way to generaye PDF files with GAE?
>> > > > i have a process to display the PDF but i want to download it
>> direcly
>> > > > from an URL.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine for Java" group.
>> To post to this group, send email to
>> google-appengine-j...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine-java+unsubscr...@googlegroups.com
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine-java?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: PDF Files

2010-07-18 Thread Khor Yong Hao
Your Problem is not using iText to generate PDF content and download it, but
is able to allow user upload their own PDF and providing download, right?


On Thu, Jul 15, 2010 at 3:25 PM, dovm  wrote:

> Hi,
>
> Check this one
> http://www.pdfjet.com/java/index.html
>
> They claim to support Google App Engine
>
> =Dov
>
>
>
> On Jul 15, 7:57 am, Daniel  wrote:
> > But it says that on" Will it play in App Engine"
> >
> > That its incompatible:
> >
> > iText
> > Version(s): ?
> > Status: INCOMPATIBLE
> >
> > * iText relies on several classes not in the JRE class whitelist
> > including java.awt.Color and java.nio.MappedByteBuffer. A bug has been
> > filed athttp://
> sourceforge.net/tracker/?func=detail&atid=365255&aid=2810312&g
> >
> > On Jul 15, 7:51 am, Shyam Visamsetty  wrote:
> >
> > > Chris,
> >
> > > Did you want to generate a PDF File on the GAE?
> > > If yes, you can use the iText library for generating the pdfs on the
> > > app engine. You can have a servlet to download the PDF file you
> > > generated.
> >
> > > Thanks,
> > > Shyam Visamsetty
> >
> > > On Jul 14, 1:36 pm, chrischelmi  wrote:
> >
> > > > Helle every body,
> > > > I am working on a Google App Engine Project that consists of
> uploading
> > > > PDF files and displaying it after.
> > > > I use a Blob to store the PDF file
> > > > i want to do a process to download this PDF file by giving the a
> > > > specifics name.
> > > > Is there a way to generaye PDF files with GAE?
> > > > i have a process to display the PDF but i want to download it direcly
> > > > from an URL.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.