Hi,
I have been trying for 3 days to fix things up, but I have a feeling i am
doing it from the wrong angle altogether. The problem is this...
I have a Java applet to which I have to integrate some intelligence, which
i do using JESS. When i run it as an application, from the main Java file
I create an instance of Rete and then batch the scriptlib.clp file as
rete_.executeCommand("(batch jess/scriptlib.clp)");
This works fine, presumably because scriptlib.clp is found in this path. I
also put my own file in this path and it works fine.
Now if i make my original Java application an applet, can I change this
command to
rete_.executeCommand("(batch http://www.../~myName/scriptlib.clp)");
without changing anything else? Do I have to change anything in class
Batch? When I run this, it still says
context.getEngine().getApplet()=null
Hence it is not taking it as an applet. Also, I jar my files and put them
on the server. Can i jar a .clp file too and access it with a relative
path? Again, is there a problem with the symbol " ~ "?
Please do reply,
Regards,
Raj.
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list (use your own address!) List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------