Friday, June 1, 2012

Possibility of using Java to Upload Files From Web App

Java, as a powerful programming language and platform, is a good choice for building robust and complex file uploading applications (e.g. with resume capabilities).
However, due to the "sandbox" operating constraints, Applets may not be able to read the files that the user is supplying for upload. Java Web Start, however, does not suffer from such constraints, but on the other end, are not allowed to run within the browser.
Applets can only be allowed to read files on local filesystem for upload under the following circumstances.
  1. Applet is signed, and user permission is obtained
  2. User edits some local policy files in his Java installation
Neither approaches are good for user acceptance. Unfortunately this means Java isn't the ideal solution for many file uploading requirements, which require a seamless experience for the user.

References:

No comments:

Post a Comment