Tuesday, May 11, 2010

Re: Can we check uploaded file Size at client side in GWT by Reading the "header info" of the file

You don't have to wait for the server to download the entire file to
give a response, you can get it right away and send back an error
immediately; just the cost of a quick round trip to the server.

As suggested in many similar posts, gwt-upload is a pretty good
solution for file uploads in GWT: http://code.google.com/p/gwtupload/.

On May 11, 7:04 am, Frank Harper <frank.har...@gmail.com> wrote:
> Because it is a much better user experience to show an error message right
> away rather than letting the user wait for a long time and then telling him
> the upload has failed.
>

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate