Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Reading text files under JVM 1.4
What have happened in the java 1.4. version? Can it no longer use old applets and methods?
I've used this methode for importing a text file from the same server into the applets on my website:
1. making onload passing the filename into the applet, like this:
2. the getfile methode in the applet then passes the filename to another applet, which reads the file and passes it back as a public variable to the calling applet (to the methode testapplet.getfile)
3. The text in the test.txt file then is ready to be displayed in the calling applet.
This, simple methode has been working stable and with no problems in all browsers until now, when I try it with browsers using the JVM 1.4 version. The onload invokes the getfile methode, but the text file is no longer read.
How can I get around this?? I do hope that it still will be possible to read from text files with JVM 1.4???.