Accessing local files on the client
I understand that applets cannot access local files from the client system. This would be because of the security issues.
But even HTML provides Form-based File Upload, where the user is allowed to browse a file in his local system using the FileDialog and upload it.
Doesn't applet have any feature where a similar thing is possible?
=> My applet would open up in the browser, the user clicks a button on the applet that gives him a file open dialog, he browses his local file system for the file, and after he selects the file, the applet will read the content of the file using any stream class.
I don't want the applet to be given any extra permissions to do this because
1. The interaction with applet should be seamless
2. HTML already supports this feature
3. The user is himself agreeing to upload the file by selecting it.
Thanks,
Praveen

