Not sure what you mean by "out-with," but I'll assume you mean you
upload it to what would be the war folder in a GWT project. If that's
true, use GWT.getHostPageBaseURL()+"image.png" to get the URL.

Derek

On Jun 6, 5:09 am, Gary <garyker...@googlemail.com> wrote:
> Hi,
>
> my application has a mechanism allowing a user to upload an image. This
> image is then stored on the server's disk. The important point to note is
> that the image is *out-with* the deployed WAR file.
>
> How do I generate a URL to access the image that has been uploaded? I want
> to return this URL after the upload is complete, so that I can construct an
> image widget around it.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to