While saving  image in the datastore and using valueStrategy =
IdGeneratorStrategy.IDENTITY  for the primaryKey you  then retrieve the
image by the id. This works on development and production servers.

On Sat, Nov 20, 2010 at 4:49 AM, andrew <[email protected]> wrote:

> Didier:
>
> Forgot to clarify this in the previous post.
>
> I have no problems to upload (and even delete) files to the blobstore
> in local dev_server.
>
> The problem is the URL returned by the call:
>
>    url = imagesService.getServingUrl(blobKey);
>
> from the ImageService code when running in dev_server
>
> it returns
>
>    http://0.0.0.0:80/_ah/img/{key}
>
> which is then NOT served.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
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.

Reply via email to