How to upload images to appengine from gwt

Posted by user356083 on Stack Overflow See other posts from Stack Overflow or by user356083
Published on 2010-06-02T15:58:54Z Indexed on 2010/06/03 3:54 UTC
Read the original article Hit count: 299

Filed under:
|
|
|

Related question I am having similar problems to what that guy had in his. My upload server returns aredirect Specifically, I am not sure what FormPanel.SubmitCompleteEvent.getResults() returns. Sometimes, I get html of an img:

<img style="cursor: -moz-zoom-in;" alt="http://<myapp>.appspot.com/servePic?blob-key=abcdef" src="http://<myapp>.appspot.com/servePic?blob-abcdef" height="1" width="1">

Sometimes I get the image data in bytes. Behavior varies on I dunno what. I get the first in development, and the second in production.

Does anyone know anything about this?

© Stack Overflow or respective owner

Related posts about java

Related posts about google-app-engine