How to Upload a file using GWT

2019-08-25 04:15发布

问题:

I am new to GWT.

I am trying to Upload a file. I need the data and the name of the file on the server side. the file is doc type and can be of size more then 1 MB to 5MB.

Plz suggest me How to do it. any sample code will be of great help.

回答1:

There is a really nice little libary called GwT-UPLOAD: http://code.google.com/p/gwtupload/

There is a quick start guide here: http://code.google.com/p/gwtupload/wiki/GwtUpload_GettingStarted