Hello I'm working on a web application (runs on IE) which is mixed with Applet, XML and DLL files(since app needs to access machine's scanner). The case is somewhat special: When Applet is loaded into browser, it needs to load simultaneously a scannberLib.jar and 2 XML files so as to perform scanning analysis.
There is no problem loading ScannerLib.jar and calling Applet, but 2 XML files are never correctly loaded. Specially, we tried the supplied sample application (jar file) and proved scanning analysis only works when 2 XML files are in the same folder of sampleApplication.jar.
The application structure is shown as follows: end user----> Web app page ----> page loads Applet (jars & lib)-->Applet calls init method in scannerLib.jar---->Scanner lib read related DLL files & DLL file (we have no control) read XML file to do scanner analysis...)
My question is how to make java applet "BE AWARE" and"load/charge" other files(xml) at runtime?
Thank you in advance!