How to write XML file with Java and read it?

How to make an applet read/write local text files while running in java?

  • Plz dnt say its not possible becz some people do suggest that certifying an applet or creating a policy filoe with appropriate permissions can help, i have done both things seperately. means i created a policy file which needs the applet to be run in any applet viewer and a special command-line command too. other is certifying it with a certificate.that too didnt help me and what i ended up with, was an error message that permission was denied. what i want is, that i have created a software based on applets which runs on HTML java enabled browsers, and takes a little help of HTML for formatting purposes. its a library management program, so i needs to write to and read from files several times. so that needs my applet to have access to local files while it is run in a browser. theres a limitation that i cant switch to swings other wise it would be quite easy. please tell what can be done. and sincere answers only plz!! im waiting!

  • Answer:

    You cannot do it.

shekh.am... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.