I have a applet and i know it is very difficult (Security Managers) to read and write from a file. I have this applet and want it to write and read from a file with some manipulations like sorting and etc.
I would like to know how can i make this happen 1. make this applet read a file or write into the file with any kind of script lang if possible.
Well, you can either use the old signing method, or the new policy method from java 1.2. If you sign your applet, then it will be able to read and write files to the local file system. What platform, browser, and JVM are you going to be using? Getting your applet signed can be a little tricky, and it works completely different on Netscape Vs. IE.
Actually, having doen a little cathing up, it looks like the signing's the "easy" part. From what I saw, you then have to get the rules into the classpath with no automated assistance. Or, in other words, by making the user merge properties into the security file used by the browser Which may be why Sun likes Java Web Start these days (in Java 1.4, JWS becomes part of the basic Java package). Anyway, thanks to that silly little deal where Microsoft lost a $500 million lawsuit over plugins, it's quite possible that the W3C will pull all plugin support out of HTML -- including applets -- whether signed or not.
Customer surveys are for companies who didn't pay proper attention to begin with.