[appengine-java] Blobstore Code Works On Dev Server, Not Production

2010-12-07 Thread Andy Haaf
My blobstore code works just great in the dev server (running on Mac) but I receive an error when uploading to production. I receive an Error: HTTP method GET is not supported by this URLeven though the sample refers to post. As I said, works fine in Dev. Please help! -- You received this

Re: [appengine-java] Blobstore Code Works On Dev Server, Not Production

2010-12-07 Thread Gal Dolber
You can solve that handling GETs and POSTs with a common handler. void doGet(... req,... resp) { handle(req, resp); } void doPost(... req,... resp) { handle(req, resp); } void handle(... req,... resp) { } On Tue, Dec 7, 2010 at 6:21 PM, Andy Haaf ah...@google.com wrote: My blobstore

Re: [appengine-java] Blobstore Code Works On Dev Server, Not Production

2010-12-07 Thread Andy Haaf
So, I did that, but now I am receiving the following error: p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; line-height: 19.0px; font: 13.0px Courier New} java.lang.IllegalStateException: Must be called from a blob upload callback request Plus, I needed to change my .jsp form code to a get versus a