You can access the HTML DOM from the applet using the netscape.javascript JSObject API. However, if I request the value input type = "file", in some browsers (Opera) I get the full path to the selected file, but in other browsers (Firefox, Chrome) just the file name without a path.
Is it possible, having HTML input type = "file", to find out the full path to the file selected in it from the Java applet?
The reason I'm worried: signed applets can access the file system, and browser file selectors are much better than Java swing.
source
share