> I admit that I am a novice at this so the answer may well be trivial > but... > > I made a very simple html page with the jmol applet successfully > included [... > <applet code="JmolApplet" archive="JmolApplet.jar" width="350" > height="350"> > <param name="load" value="glak098a.pdb"> > <param name="bgcolor" value="#1010aa"> > </applet> > ... > ] This looks fine.
> Then I tried to make this exact same page but on-the-fly from a cgi > script (which is how I want the final site to be working) and now I get > an error message (both in the displayed page and from the Apache > server). The message in the server log is: > ... script not found or unable to stat: > /usr/people/web/web-cgi-bin/JmolApplet.class Hmmm ... > but the .jar file is there. Why the reference to a JmolApplet.class > file? Here are my thoughts ... in random order. I have seen that the client Java implementation will often try to access the individual class files. It then falls back to pulling down the .jar file if the class file is not found. This behavior seems to be heavily JVM dependent. i.e. IE will be different from Sun Java Plug-in which will be different from Netscape 4.* The applet will try to load the JmolApplet.jar file using http I don't understand why it is generating an error for you in your client browser. If the JVM tries to load JmolApplet.class and gets a 401 NOT FOUND then it should just keep looking for the class ... and then start downloading the .jars that are listed in the 'archive' parameter to the applet tag. I suspect some configuration/setting in Apache. Go back and watch the access.log file when you load the .html page ... I would expect it to generate the same behavior. What are you using to write your cgi? Perl? (Not that it should make any difference) See what the behavior is with several different browsers. Miguel > Rich ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Jmol-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-users

