Hello everyone!
I am struggling long now with a problem i can't resolve, so i kindly ask for
your help.
I am using Java Server Faces, constructing a web application.
I am trying to run Jmol (I have tried both as simple applet and with Jmol.js)
and load a dynamic value-path to the user's folder and file.
My code is:
<jsp:plugin archive="Jmol/JmolApplet0.jar" code="JmolApplet" height="504"
hspace="48" jreversion="1.2" name="Jmol1" type="applet"
vspace="120" width="624">
<jsp:params>
<jsp:param name="load"
value="#{Page3_protein.valueForJmol()}"/>
<jsp:param name="script" value="select
all;spacefill off; wireframe off;cartoon;color cartoon chain;select
ligand;wireframe 40;spacefill 120;"/>
<jsp:param name="progressbar" value="true"/>
<jsp:param name="progresscolor" value="blue"/>
<jsp:param name="boxbgcolor" value="black"/>
<jsp:param name="boxfgcolor" value="white"/>
<jsp:param name="progressbar" value="true"/>
</jsp:params>
</jsp:plugin>
or
<script>
jmolInitialize("Jmol");
jmolApplet(500, "load ${Page3_protein.valueForJmol()}");
</script>
The thing is that the method public String valueForJmol() returns the right
string to the page and
the applet BUT ... Jmol throws FileNotFound Exception...
While the folder the file and the path they r all right...
Any ideas what is worng or how to solve it please???
Thank you very much!!
Andreas, Greece.-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users