O'Reilly logo

Essential GWT: Building for the Web with Google Web Toolkit 2 by Federico Kereki

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11. Moving Around Files

Sending files to a server, or receiving a file from a server, is a common requirement, and GWT allows you to do so, but you’ll have to use tools we haven’t yet seen. In this chapter we’ll study these matters, see how to provide feedback to the user as the process runs, and even get to use different ways of communicating with the server, complementing the methods we already studied.

Uploading Files

Given the browser restrictions on client-side file handling (meaning, basically you cannot do anything at all with files!) uploading any files to a server requires more “classical” web programming, like submitting forms to send the data; we won’t be able to apply any of GWT or Ajax techniques to work otherwise.

We’ll start with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required