You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by David Cao <da...@criticalthinking.com> on 2001/08/08 02:55:44 UTC

javascript won't work in tomcat

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:roytmana@peacetech.com]
Sent: Tuesday, August 07, 2001 1:20 PM
To: tomcat-user@jakarta.apache.org; tomcat-user@jakarta.apache.org
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