I'm not sure yet to where it is failing. Can you send the exception/trace too? First step I do is check the ./war/WEB-INF/appengine-generated and see if the file arrived from the upload, if its not there, the form url is not working should be something like _ah.... If you can get the blobkey url in the jsp, I suggest using a servlet to render the html you need and get rid of the jsp all together. At least thats what I do.
http://demofileuploadgae.appspot.com/ - demo and its source below (its in gwt, but the upload servlet is the same) Here is my simple upload servlet on my wiki -> http://code.google.com/p/gwt-examples/source/browse/trunk/DemoGAEMultiFileUpload/src/org/gonevertical/MultiFileUpload/server/blobs/Servlet_Upload.java First concentrate on getting the URL correctly to the html upload form. Once you get this hitting submit will take care of the rest. You can confirm it worked by checking the directory I told you about above. I don't like using jsp, b/c its messy and problematic if you don't have the libs. I like to use a servlet to render my html. I recommend doing that to keep things simple. A note to after uploading exception, you can only, i mean *only* *redirect*, which means pass on the information you need in a post or get to a servlet that can deal with you next steps. If you get an error trying to render some HTML, its because you can only redirect. I'll pass on the blob key in the url to my servlet and do stuff with it. I think your other items might fall into place after you get a successful upload. Let me know if you can reder your html in a servlet, and get the blob url correctly. Then confirm the file gets to the directory. Then you might want to iterate and see if you have it too. Hope that helps, Brandon Donnelson http://gwt-examples.googecode.com -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine-java/-/iLwPgRCTftYJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
