Hello all,
I have modified some code from Chapter 5 of Java Server
Programming J2EE edition regarding XML parsing. My aim is to be able to
parse xml contect from within a Java Applet.
I have downloaded appropriate XML classes from sun.com, installed them on
my machine, and all worked fine.
I placed these additional classes onto my IIS webserver, and set
the 'archive' parameter within html page to these jar files.
I was able to view this applet properly within I.E. However using
netscape, i would receive :
netscape.security.AppletSecurityException: security.class from local disk
trying to access url: http://server/test/structure.xml
As non of my applets for this page come from disk (they all come from the
same webserver (server - non by ip address or other host name), i could
not understand this.
So i figured that the only classes to be loaded from local disk were the
actual jre, and any files in local machines classpath.
so i removed classpath environment variable, and tryed same in netscape
and all works fine. It appears that if a class exists in both local
classpath, and on webserver, netscape uses classpath first. However, as
this causes error, i would like to force netscape to use my downloaded
version.
Am i going around this issue the correct way, or am i missing something
obvious...
Thank you.
Paul Williams