robot only allow json data format. second method ok, store it on datastore and access from there
cheers jeno On Apr 21, 1:02 pm, jeno <jeno...@gmail.com> wrote: > Hi Patrice , > > Thanks for your help. > > How can i initialize variable of ServletResponse resp on > onFormButtonClicked of robot. > > Thanks > Jeno > > On Apr 20, 6:22 pm, Patou <patou.de.saint.ste...@gmail.com> wrote: > > > > > Hello > > > In App Engine, You can't write a file to the file system. Otherwise > > the save method can't be used in GAE. > > Use this code to send the pdf to the navigator : > > > pdf.wrap(); > > > String fileName = "Example_03.pdf"; > > > resp.setContentType("application/pdf"); > > resp.setHeader("Content-Disposition", "attachment; filename=\"" + > > fileName + "\""); > > ServletOutputStream outs = resp.getOutputStream(); > > pdf.getData().writeTo(outs); > > > Or to save to the datastore : > > new Blob(pdf.getData().toByteArray()); > > > Bests Regards > > > Patrice > > > On Apr 20, 4:18 am, jeno <jeno...@gmail.com> wrote: > > > > Hi François , > > > > Thanks for your help. I have used PDFjet (PDFJet.jar version 2.72) > > > PDF class missing save method > > > So i cant call pdf.save("d.pdf") method. > > > > Cheers > > > jeno > > > > On Apr 19, 6:48 pm, François Masurel <fm2...@mably.com> wrote: > > > > > Hi Jeno, > > > > > You can try the PDFjet Open Source Edition > > > > :http://pdfjet.com/os/edition.html > > > > > François > > > > > On 19 avr, 01:55, jeno <jeno...@gmail.com> wrote: > > > > > > Hi Guys, > > > > > > Anyone know open source java pdf engine for GAE. > > > > > > Thanks > > > > > Jeno > > > > > > -- > > > > > 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 > > > > > athttp://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 > > > > athttp://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 > > > athttp://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 > > athttp://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 > athttp://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.