Search code examples
javagwtapache-commons-fileupload

Is there a way to handle a file in GWT without loading it to the server-side?


I'm using a third-party library (GWT Uploader), Servlet and another third-party library (Apache Commons Fileupload) to upload and handle files in the server-side of my web-app. But I want to be able to handle file's content without sending it to the server. How can I accomplish that? Do I need another thrid-party library to do so?


Solution

  • ClientIO as seen in this site, might be useful. I've never used it before, but check out the link.

    You may also be able to use lib-gwt-file, which is an implementation of the HTML5 File API.