Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet and JDBC

 
Xinbo Cheng
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, can someone tell me how the classpath for the driver should
be set for servlets and JSPs?
I have Tomcat 3.2.1 running on Window98 and JDK1.2;
My driver is NetDirect's JData2_0.sql.$Driver installed at:
c:\program files\NetDirect\JDataConnect\JData2_0
Any help would be appreciated!
Xinbo
 
Tushar Kansara
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Xinbo,

I had a similar problem while using oracle thin driver.
I suggest that u place the jar file of the driver in the c:\jdk1.2\lib\ext\xx.jar. where jdk1.2 is the directorey name where u install ur java.
ensure that the web server ur using points to this jdk.
Feel free to contact me if ur not able to solve it.
Regards
Tushar Kansara

------------------
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!