To upload image to your server you need to use FormPanel and set some properties of FormPanel.
FormPanel form = new FormPanel();
form.setAction("PATH OF YOUR SERVLET"); - this servlet will
get the image data
form.setEncoding(FormPanel.ENCODING_MULTIPART); - to send binary data
form.setMethod(FormPanel.METHOD_POST);
form.setWidget("your widget which contains FileUpload control");
- Abdullah
On Wed, Jan 13, 2010 at 5:14 PM, Juan M.M.M. <[email protected]> wrote:
> Yes I understand what u say. I will try to, I don't know how but I
> will try it.
>
>
> P.D.: I did it in a web application with C#.
>
>
> Thanks!!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
>
>
-- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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-web-toolkit?hl=en.
