This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes servlet can't identify absolute classpath to jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "servlet can Watch "servlet can New topic
Author

servlet can't identify absolute classpath to jdbc

zb cong
Ranch Hand

Joined: Jan 14, 2002
Posts: 416
i have install the jdbc driver for sqlserver2000 under the "c:\jdbc" directory,and set the classpath to point to all of three jar files under it,the programs with "main" entry that access sqlserver works well,but the servlet that access database don't work,and it tell me "no suitable driver",then i move the jar files to "TOMCAT-HOME\lib",the servlet works well,i know that the files under the lib directory will be loaded when the tomcat start,but why the servlet can't identify the classpath with absolute path?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: servlet can't identify absolute classpath to jdbc
 
Similar Threads
question about servlet in tomcat
jdbc error at runtime - org.postgresql.Driver
serlvet identify absolute classpath
java.lang.ClassNotFoundException: oracle:jdbc:driver:OracleDriver
question about servlet in tomcat