Hello all
I am having trouble loading a file using an absolute path, only with the signed 
applet

The code is 
jmolApplet(200, 'load /mediawiki-1.11.0/images/d/d3/Butane.pdb; '

and it works Ok with the unsigned applet (11.6.8):

FileManager.openFile(/mediawiki-1.11.0/images/d/d3/Butane.pdb) ///mediawiki-
1.11.0/images/d/d3/Butane.pdb
FileManager opening http://127.0.0.1/mediawiki-1.11.0/images/d/d3/Butane.pdb
The Resolver thinks Pdb
openFile(/mediawiki-1.11.0/images/d/d3/Butane.pdb): 311 ms

 but fails with the signed one:

FileManager.openFile(/mediawiki-1.11.0/images/d/d3/Butane.pdb) ///mediawiki-
1.11.0/images/d/d3/Butane.pdb
FileManager opening file:/mediawiki-1.11.0/images/d/d3/Butane.pdb
file ERROR: file:/mediawiki-1.11.0/images/d/d3/Butane.pdb
java.io.FileNotFoundException: \mediawiki-1.11.0\images\d\d3\Butane.pdb

Can anyone give a hint?

(Yes,  I know that using absolute paths is not a very good idea, and I usually 
do not do so, 
but this is inside a Wiki and must be so)

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to