Dear Ranchers, Can any one suggest me of a java script that allows the jar file to paste in the temporary internet files folder. I have made some modification in a jar file and want that jar file to go in the temporary internet files folder, which under normal circumstances does not get paste in that folder (not only jar, but does not allow any file to paste in there). For instance say a chat applet, to which I have made some modifications in the class files and want that modified jar applet to get in the temporary internet files folder and make chat program use that instead of the original one. I tried with keeping my jar file into the localhost and downloading it in the temporary internet files folder by giving the source of locally hosted jar applet, but it shows some security error on the status bar of the browser and does not connect to the remote server. Seems like it could not open the port. If someone can suggest me of the method by which I can use the modified jar file to connect to the server from where it originated, either by downloading the file to the temporary internet file folder or from the localhost. This can be done, but the question is HOW CAN THIS BE DONE? Great ranchers, Please help this poor rancher. Thanks, Gresan
Why do you think this can be done? The "sandbox" model for applet security specifically prohibits this behavior. If you want your applet to be able to write to the local file system, you'll have to sign the jar file containing the applet. Any changes you make to the jar file will invalidate the digital certificate assigned to that jar file, and your applet will no longer work. Can you state in higher-level terms (from the point of view of application features) what you are really trying to do?
subject: This can be done, but the question is HOW?