First at all, i'm sorry, i not good in writing english.
i want to retrieve a string from my applet via Javascript. I use a method named ReadAll.
public String ReadAll(String StrOut, String Keywords, String condition) {
:::
:::
return description;
}
I call an applet in page1.html file like this
<applet code="localfile.class" archive="localfile.jar" codebase="." width=0 height=0 name="lclfile" MAYSCRIPT></applet>
The caller in javascript (page1.html) is like this:
xontent = document.lclfile.ReadAll(strAddress + "\\" + FSo.item().name, string, and_search);
The problem is, when i run the html file in folder "D:/Development" it's work without any problem. I put all related file in one folder.
But if i copy all file inside "D:/Development" folder and put it under other folder such as "D:/note" and run it, it give me an error 'java.lang.Exception: ReadAll{0} :no such method exists' .
java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.JavaClass.getMethod1(Unknown Source)
at sun.plugin.com.JavaClass.getDispatcher(Unknown Source)
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
java.lang.Exception: java.lang.Exception: ReadAll{0} :no such method exists
at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.com.DispatchImpl.invoke(Unknown Source)
I use IE6 browser. Can anyone help me?