How can I send my file from client to server using RPC?

41 views
Skip to first unread message

Madz

unread,
Jul 17, 2008, 7:24:51 AM7/17/08
to Google Web Toolkit
Hi,

I have this FileUpload widget and my goal is to upload a file from
client and save it to the server for the future use using RPC but GWT
doesn't support java.io.

I'm sure there is a way...hope someone can lighten me in here.

Thanks.

alex.d

unread,
Jul 17, 2008, 7:52:11 AM7/17/08
to Google Web Toolkit
You can't use RPC to upload files. That's not possible. You have to
use common html-form to do it. GWT has a FileUpload class which is
basicly a wrapper over the form. Seek in this group or this link
http://home.izforge.com/index.php/2006/10/29/295-handling-file-uploads-with-the-google-web-toolkit
for more info
Reply all
Reply to author
Forward
0 new messages