title: How to upload images to appengine from gwt
body: <p><a href="https://stackoverflow.com/questions/1111130/basic-file-upload-in-gwt">Related question</a> I am having similar problems to what that guy had in his. My upload server returns a redirect.</p>
  <p>Specifically, I am not sure what FormPanel.SubmitCompleteEvent.getResults() returns. Sometimes, I get html of an img:</p>
  <pre><code>&lt;img style=&quot;cursor: -moz-zoom-in;&quot; 
      alt=&quot;http://&lt;myapp&gt;.appspot.com/servePic?blob-key=abcdef&quot;
      src=&quot;http://&lt;myapp&gt;.appspot.com/servePic?blob-abcdef&quot;
      height=&quot;1&quot; width=&quot;1&quot;&gt;
  </code></pre>
  <p>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.</p>
  <p>Does anyone know anything about this?</p>