> Thanks for all the prodding Miguel. After some more experimentation I
> ended up with this approach working:
>
> The cgi script generates this html code for the applet
>
> <applet codebase="/jmol" code="JmolApplet" archive="JmolApplet.jar"
> width="350" height="350">
>       <param name="load" value="/xray/glak098a.pdb">
>         <param name="bgcolor" value="#1010aa">
>       </applet>
>
Very good. Glad that you got it working.

> This all works but there is still one error message in the server's log
> file:
>
>  File does not exist: /var/www/htdocs/jmol/JmolApplet.properties
>
> Does this need to be worried about?

You do *not* need to worry about this.

The JmolApplet.properties file lets you set default property values that
will be used on your web site. For example, anything that you can specify
as a parameter (bgcolor, for example) can be put in the
JmolApplet.properties file using the Java properties format:
  bgcolor=#1010aa

Then, you do not need to specify it as a parameter for all of the applets
on your site.

If the file is not found, then there are no default values ... and nothing
bad happens.


Miguel





-------------------------------------------------------
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

Reply via email to