On 2005-07-11 (21:57) Angel Herraez wrote: >On 11 Jul 2005 at 15:34, Freddy A. Rojas P. wrote: > >>Windows and Unix but, in both cases I could load the applet but not >>the molecule. I tried to load the molecule from applet's console but >>I got an I/O Exception. Can you tell me what I'm doing wrong? >> >Hi, Freddy > >Sounds like the eternal problem of accessing local files from Java; >the files must be in a folder equal or below the applet. > >Try to move the xyz file: > <snip> > >Recommended way to do: put jmolapplet.jar in the topĀ folder of your >web project, then all molecules will be below it, as in: >
hi Freddy, this list is the place for questions; ask away! two alternatives to Angel's suggestion: 1. serve your Jmol pages from a Web server, instead of local files. 2. use the signed Jmol applet that comes with the Jmol download. I recommend option 1 if you will be running your Jmol application from the Web (most common). setting up a local Web server is fairly easy these days (IOW, you don't have to have it publically accessible until you want it so.) in addition, you get rid of the non-trivial intermediate step of moving your project from local file to http - non-trivial becuase there are some differences between the two that can really hang you up. plus it lets you organize your documents in almost any way. I recommend option 2 if your application is designed to be downloaded and run locally. using the singed applet allows much more flexibility in your dir structure, allows loading pdb files from anywhere (who knows where a user puts pdb files?), and will work if, for some reason, Angel's method suddenly becomes a security hole that gets plugged in the future. YNK. good luck! tim -- Timothy Driscoll molvisions - see, grasp, learn. <http://www.molvisions.com/> usa:north carolina:raleigh "Enzymes are things invented by biologists that explain things which otherwise require harder thinking." - Jerome Lettvin ------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

