JBuilder/Tomcat/JNDI/JDBC DataSource
I am working through configuring a JDBC DataSource described in Chapter 8 page 182 for Tomcat 5.5.9 under JBuilder 2006. I believe I have edited all the appropriate xml files. On the Java side it does not like this piece of code from the book "Context localContext = (Context) new myInitialContext('java:comp/env')", especially the single quotes. I figure I am missing something, am trying to run it from a servlet.
Thanks for your help..
|