Angel,

Thanks for your quick response. Actually, the files *are* in the same branch. I tried to initialize with jmolInitialize("."), but that didn't work, so I just called the local directory (Gallery) using "../Gallery". What's the right way to do this?

R.

On Apr 21, 2006, at 5:58 PM, Angel Herraez wrote:

Hello Rick

Are you testing from a web server, or from your hard disk? Java imposes security constraints for local files (explained at

It looks to me that you have the applet files on a different branch folder
../Gallery/JmolApplet0.jar
than the molecule files
gallery/c2h4.xyz

If so, the applet will not open the files.

The files must be in the same folder or below that where the applet is.

It would work with
../Gallery/JmolApplet0.jar
../Gallery/c2h4.xyz

or with
../JmolApplet0.jar
gallery/c2h4.xyz

Once they are in the server, they will work anyway

On the other hand, I am not sure aabout the data structure of your jmolMenu (would need to check). Try a jmolButton, wich is simpler, for a start
------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

Rick Muller



Reply via email to