[appengine-java] Re: File size when downloading files is missing
So, i've played a bit and tested some things. Before serving the blobkey i now set the header of the respond this way: res.setHeader(Content-Length, Long.toString(blobInfo.getSize() )); res.setHeader(Content-Size, Long.toString(blobInfo.getSize() )); Setting the header works, the respond says: HTTP/1.1 200 OK Content-Size: 66882 Content-Type: application/pdf Date: Mon, 25 Oct 2010 08:10:15 GMT Server: Google Frontend Content-Length: 66882 Connection: close But, all my browsers (I've testest with Safari, Firefox and Chrome) still are not able to determine the filesize when downloading... Do you have any idea what else i can try? -- 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.
[appengine-java] Re: File size when downloading files is missing
Am i really alone with this problem? blobstoreService.serve(blobKey, byterange, res) doesn't work either. -- 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.
[appengine-java] Re: App Engine SDK 1.3.7 bugfix release
+2 same thing here! On Sep 1, 1:43 pm, timwhunt timwh...@gmail.com wrote: +1 - I'm wondering the same thing On Aug 31, 9:14 pm, Sekhar sek...@allurefx.com wrote: Eclipse is still showing 1.3.6...any ETA on that? -- 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.
[appengine-java] Re: GWT and GAE: Uploading Files to Blobstore
i even tried to upload very small files (~4kB), same exception ... -- 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.
[appengine-java] GWT and GAE: Uploading Files to Blobstore
Hey Folks, i try to upload files using GWT and GAE (Blobstore). Adding data to the Datastore works fine already. When i click Upload/Submit it opens a new Browser Window and it tries to open http://xy.appspot.com/_ah/upload/saufdsgfdsfd98gdf89gfdgzfdg9fd78zf8f89fh3hhf938fj37f4 After a few seconds it ends with HTTP ERROR 500 with a Java Heap Exception. Here is my Code: com.xy.client.MyProject.java (...) final FormPanel form = new FormPanel(); form.setEncoding(FormPanel.ENCODING_MULTIPART); form.setMethod(FormPanel.METHOD_POST); fileService.getUploadURL(new AsyncCallbackString() { public void onFailure(Throwable error) { } public void onSuccess(String url) { form.setAction(url);// - BLOBSTORE.REQUESTUPLOADURL HERE! } }); (...) myButton.addClickHandler(new ClickHandler() { @Override public void onClick(ClickEvent event) { form.submit(); } (...) com.xy.server.FileServerImpl.java (...) private BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService(); public String getUploadURL() { String url = new String(); url = blobstoreService.createUploadUrl(/xy/upload); return url; } (...) com.xy.server.UploadFileServlet.java (...) public class UploadFileServlet extends HttpServlet { private BlobstoreService blobstoreService = BlobstoreServiceFactory.getBlobstoreService(); public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { MapString, BlobKey blobs = blobstoreService.getUploadedBlobs(req); BlobKey blobKey = blobs.get(pdfFile); } } (...) web.xml (...) servlet servlet-namefileService/servlet-name servlet-classcom.gcx.gcpub.server.FileServiceImpl/servlet- class /servlet servlet servlet-nameuploadFileServlet/servlet-name servlet-classcom.gcx.gcpub.server.UploadFileServlet/servlet- class /servlet servlet-mapping servlet-namefileService/servlet-name url-pattern/gcpub/pdf/url-pattern /servlet-mapping servlet-mapping servlet-nameuploadFileServlet/servlet-name url-pattern/gcpub/upload/url-pattern /servlet-mapping (...) I tried everything and I think I nearly read every thread on the web handling this topic. Without GWT (if i use a JSP instead) it perfectly works, it opens no new browser window and i even don't see the upload URL generated by blobstoreService.createUploadUrl(/xy/upload). Is it not possible to use a HttpServlet here to save the file to the Blobstore? Can you tell me where is my mistake? I'm very thankful for any help! The docs for GWT and GAE are very good, doing some tutorials directly pushes you the right way. Sadly there isn't as much good stuff for combining GWT and GAE (don't even books). -- 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.
[google-appengine] Re: GAE vs. Google Wave Discontinue
Thank you Ikai! Thats what i wanted to hear :) On Aug 10, 12:32 am, Albert albertpa...@gmail.com wrote: That's great! On Aug 10, 5:33 am, Jeff Schwartz jefftschwa...@gmail.com wrote: Ikai, You just put the biggest smile on my face. Thank you and a big virtual manly hug to you as well :) Jeff On Mon, Aug 9, 2010 at 4:51 PM, Ikai L (Google) ika...@google.com wrote: I just wanted to say that anything can happen to any product. Per our terms of service, we will maintain App Engine for 3 years after any announcement. You're betting that Google will be around for many years and will have the finances to support App Engine. If you ask me, this is a good bet. We're investing a lot in more products, but we also have BILLIONS of dollars in cash: http://www.fool.com/investing/general/2010/07/19/googles-30-billion-q... My feeling is that App Engine is not going anywhere. We are using App Engine extensively both internally and externally, and there are many companies that are building entire businesses on App Engine. During our last IRC office hours, one company that was only 12 people has grown to employ over 100 people! As long as people are building real businesses on App Engine, the chances that we'll be unhappy with how it's doing and phase it out are near zero. There are a ton of things you can do to help App Engine: build apps. Participate in these discussions. Contribute to open source projects. Write about App Engine. Tell your friends about App Engine. Sell apps to people and sell App Engine consulting. We want you guys to be able to use App Engine for quick apps and prototyping, but we also want you to use App Engine to build your livelihoods. On Mon, Aug 9, 2010 at 9:33 AM, Jaroslav Záruba jaroslav.zar...@gmail.com wrote: http://googleblog.blogspot.com/2010/08/update-on-google-wave.html 2010/8/9 Jaroslav Záruba jaroslav.zar...@gmail.com On Mon, Aug 9, 2010 at 6:10 PM, SivaTumma sivatu...@gmail.com wrote: @Patrick Cornelißen Was the news seems correct to you ? Please point me to some official link... ( If you find some correct link ) I am still thinking it as if it were a white hat news to bias the people by rivals in internet. :P Are you assuming we are Google's rivals too? :) -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- Ikai Lan Developer Programs Engineer, Google App Engine Blog:http://googleappengine.blogspot.com Twitter:http://twitter.com/app_engine Reddit:http://www.reddit.com/r/appengine -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.comgoogle-appengine%2Bunsubscrib e...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en. -- -- Jeff -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.
[google-appengine] GAE vs. Google Wave Discontinue
Hi folks, can it happen that Google suddenly will discontinue the Google App Engine, like they announced for Google Wave yesterday? Greets rapher -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.