[appengine-java] Re: Image Upload From Android Phone

2011-06-30 Thread andrew
Write a servlet that accepts a multi-part mime post with image as one part. Parse out and save file part to blobstore. In Android app, add Apache HTTP multi-part JAR to project and use FileBody to add image file as a part and post to server. -- You received this message because you are

Re: [appengine-java] Best way to work with a CellTable and many-to-one relationship with objectify?

2011-06-30 Thread Drew Spencer
Thanks guys. So basically I should be grabbing the Supplies and Suppliers on the server side, combining the data I need from both into a SupplyDTO object, and passing that back to the client, rather than doing the processing on the client? Seems to make sense! Drew -- You received this

[appengine-java] Development server deletes automatically-generated datastore indices

2011-06-30 Thread Ian Marshall
I have my datastore-indexes.xml configuration file set as datastore-indexes autoGenerate=true /datastore-indexes I make successive runs of the development server. Each time before stopping it, I wait a couple of minutes for updates to be flushed to local_db.bin and

[appengine-java] Does anyone use sitebricks?

2011-06-30 Thread Drew Spencer
Hey coders, I just came across google-sitebricks as I have just been watching the Guice video. I would have thought it would be quite popular considering Guice seems very popular, but there aren't many posts about it. I get that it's a framework, but finding it hard to get any info in it. Do

Re: [appengine-java] Does anyone use sitebricks?

2011-06-30 Thread Gal Dolber
I am using it. Worked really good to me, I use it in gwt projects where I also have gwt-rpc calls. All non RPC call go to sitebricks. For me it is the alternative to hand written servets. It also includes a templating engine and well, the most important feature is the guice integration. On

[appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
My folder structure on Eclipse project is as the following: war /b/abc /css /js /image index.html It works fine on my development machine But after uploading to Google App Engine, I received the following error message: The requested URL /b/abc was not found on this server . I am

Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Evan Cheng
If /b/abc is a URL point to servlet, you must modify your /war/WEB-INF/web.xml with the servlet path. EX: servlet servlet-nameabcServlet/servlet-name servlet-classcom.yourdomain.AbcServiceImpl/servlet-class /servlet servlet-mapping servlet-nameabcServlet/servlet-name

Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Pion
war/b/abc has static html file. I cannot access war/b/abc/foo.html using http://example.appspot.com/b/abc/foo.html But I can access another folder war/xyz/pqr.html using http://example.appspot.com/xyz/pqr.html -- You received this message because you are subscribed to the Google Groups

Re: [appengine-java] The requested URL was not found on this server error message

2011-06-30 Thread Evan Cheng
I'm not sure, but seems looks like you want to access a html file with a path. Maybe you need to add 'path-mapping'. http://www.caucho.com/resin-3.0/config/webapp.xtp#path-mapping On Fri, Jul 1, 2011 at 11:02 AM, Pion onlee2...@gmail.com wrote: war/b/abc has static html file. I cannot access