Hello, I have very simple html page have JavaScript, it works find if load from file system, buy the java script won't work if I load it from tomcat, does anyone know the reason or have similar problem? Thanks a lot David Cao - Energizing by Thinking -----Original Message----- From: Roytman, Alex [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 07, 2001 1:20 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Catalina: How to specify factory class name for a Resource in server.xml Hello, I am writing several jndi factories for catalina's JNDI implementation and I am trying to figure out how to specify factory class for a resource. The only sample I found was <Resource name="jdbc/usorg" auth="CONTAINER" type="javax.sql.DataSource"/> and factory class for type="javax.sql.DataSource" is hard coded. How do I specify factory class for my resource? Thank you very much Alex Roytman