You are right conor, i set the content to application/pdf and i cand display it. but my problem is that in some browsers and OS(Mac) ,the pdf is not displyed, the download starts automatically with a default name, i want to have control on the name given to the file before it is downloaded
On Jul 18, 6:44 pm, Conor Power <iamco...@gmail.com> wrote: > 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 <fyh...@gmail.com> 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 <dovm...@gmail.com> 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 <vedm...@gmail.com> 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 <shyamsunder...@gmail.com> 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 <michelvo...@gmail.com> 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<google-appengine-java%2bunsubscr...@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<google-appengine-java%2bunsubscr...@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.