Hey angel.
Hi everyone.

I dont know if it's interesting for you, but I think the problem is with
Tomcat. It doesn't see the paths created at runtime...

I created this simple jsp page to find out if it was JSF problem:

<[EMAIL PROTECTED] contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd";>
   
<%@ page import="java.io.File"%>

   
   
   <%
   
   boolean success = (new File("test")).mkdir();
   File f = new File("test/1ENH.pdb");
   f.createNewFile();
   String ss = "sdfsdf";
   
   String s = "test/1ENH.pdb"; 
   %>

<html>
    <head >
        <title>Jmol Data Visualization</title> 
        <script src="Jmol/Jmol.js"></script>
        </head>
        <body>
   <form>
       <script>
           jmolInitialize("Jmol");
               jmolApplet(500, "load <%=s%>");
                   jmolBr(); 
                   jmolCheckbox("spin on", "spin off", "spin");
    </script>
    <div align="right">Zoom = Shift + mouse</div>  
    </form> 
    </body>
    </html>

In JavaConsole everything seems fine.
I really tend to believe now that it is Tomcat's problem...

Again, I would be grateful if you can come up with any solution..

Thnx so much!.

-------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to