views:

215

answers:

1

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://&lt;myapp&gt;.appspot.com/servePic?blob-key=abcdef" src="http://&lt;myapp&gt;.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?

+1  A: 

Here's a pretty good example of how to save/load/resize images with gwt & app engine.

http://code.google.com/p/swagswap/source/browse/#svn/trunk/src/main/java/com/swagswap/dao%3Fstate%3Dclosed

Have a look in the dao implemenations and also the gwt interface packages.

Ash Kim