If the client side has a way to pre-process the file on the GWT code client computer? For example, to calculate the checksum before submitting the file to the server.
No, it is not possible. The file is manipulated by the browser, not HTML code.
Think about it, GWT is 100% Javascript and javascript does not have any access to the file in your computer. This will be a huge security risk! The GWT file "hides" the input box so that it can be displayed inside the GWT panel. But once you press the "Upload" button, the browser is uploaded.
You can manipulate files with other techniques, though. For example, Java applet is outside the GWT area ...
Comments
Post a Comment