javagwtfile-uploadgwt-rpcgwtupload

How to Upload a file > 1 MB using GWT


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. Plz dont suggest gwtUpload. My File size is more then 1 MB. gwtUpload doesn't support more the 512 Kb.


Solution

  • You should use a form instaed of gwtUpload class. See this related topic:

    Basic File upload in GWT

    Itt will help.