[appengine-java] Re: blobstore - map returned empty

2010-11-20 Thread Starman
What I do is remove the prot:ip:port prefix if the ip is 0.0.0.0 before I store the url. In dev, a relative path is OK. In prod, I store exactly what is returned. R. On Oct 31, 5:45 am, pac parvez.chau...@gmail.com wrote: I have gone through your sample code few times, could not find what I am

[appengine-java] Re: blobstore - map returned empty

2010-10-31 Thread pac
I have gone through your sample code few times, could not find what I am missing. What I tried now - is created a dialog with simple file upload field (rest functionality nearly copy pasted), now that seems to be working. May be I will come back to other code and see what causing it. Though

[appengine-java] Re: blobstore - map returned empty

2010-10-27 Thread pac
Hi Ikai, Upload page is a composite, in which I have a decorator panel which contains another composite which has FormPanel (Upload field) As for servlet code: public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException,

Re: [appengine-java] Re: blobstore - map returned empty

2010-10-27 Thread Ikai Lan (Google)
That looks right to me. Strange ... can you compare your code against this project? It's some sample code I whipped up a while ago. Here's the GWT upload widget: http://github.com/ikai/gwt-gae-image-gallery/blob/master/src/com/ikai/photosharing/client/widgets/UploadPhoto.java Here's the servlet