On 2005-07-08 (12:48) Angel Herraez wrote:

>Robley and Jennifer, it is not a question of relative or absolute 
>paths, it is that Java will refuse to load files that are above the 
>applet in the folder tree structure, due to security reasons.
>
>So, you can have
>/JmolApplet.jar
>/molecule.mol
>
>or
>/JmolApplet.jar
>/models/molecule.mol
>
>but not
>/jmol/JmolApplet.jar
>/molecule.mol
>
<snip>

just to clarify - the above restriction applies to LOCAL use of an applet only.

if you are running from an actual Web server, you can put JmolApplet, Jmol.js, 
and your pdb files anywhere in relation to each other as long as they are 
www-readable, and the paths and filenames and permissions are correct.  you can 
even put them on different servers.

BTW, one easy way to circumvent the restriction on local dir structure is to 
use the signed applet instead.


regards,

tim
-- 
Timothy Driscoll
molvisions - see, grasp, learn.
<http://www.molvisions.com/>
usa:north carolina:raleigh

"Mathematics is the language with which God has written the universe." - 
Galileo Galilei


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to