How to open the files from the system

Hai to all

Here I am doing a project where I have to put backup word files on the browser . I have created an applet with browse , attach and done (Buttons) . By clicking browse I have to get the open dialog box so that i can give the path easily . Any one can help me in that action event.

[330 byte] By [manasa_m] at [2007-9-26 4:20:42]
# 1

Unless digitally signed (or updating the policy file) an applet cannot access local client resources (e.g., reading from/writing to local files, using the FileDialog, etc.). For more about signing an applet see the following page:

http://www.davidreilly.com/jcb/faq/javasigningfaq.html

paternostro at 2007-6-29 17:24:07 > top of Java-index,Archived Forums,Java Programming...
# 2
I have given the filedialog command but there is no result
manasa_m at 2007-6-29 17:24:07 > top of Java-index,Archived Forums,Java Programming...
# 3

If you're calling FileDialog from an applet via a browser you will throw a security exception (check the browser's Java console). As mentioned in my previous post unless your applet is digitally signed opening a FileDialog is not possible (however it is possible using appletviewer as that tool considers the applet "trusted").

paternostro at 2007-6-29 17:24:07 > top of Java-index,Archived Forums,Java Programming...