1

Related question I am having similar problems to what that guy had in his. My upload server returns a redirect.

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?

Community
  • 1
  • 1
f.khantsis
  • 3,256
  • 5
  • 50
  • 67

2 Answers2

4

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.

chickeninabiscuit
  • 9,061
  • 12
  • 50
  • 56
0

Does the project in this link still exists?

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

I tried to checked it out through eclipse but looks like it does not exist anymore.

Maria
  • 1