This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Servlets and the fly likes D/B connectivity problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "D/B connectivity problem" Watch "D/B connectivity problem" New topic

D/B connectivity problem

Ganesh Kumar Kalamadugu

Joined: Jan 14, 2006
Posts: 4
Hi frends,

i am not able to connnect to d/b(oracle) through servlets,jsp

i am using winxp professional,i set classpath for oracledriver upto classes12.jar

if i am using normal JDBC the programs are running successfully,but if i use in servlets thru JDBC causing problem

is XP compatible to run servlet thru JDBC

can anybody help to overcome this problem
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
Is the jar file containing the driver in the WEB-INF/lib directory of your web app? The server may not use the standard classpath you have set elsewhere (e.g., Tomcat doesn't).
It is sorta covered in the JavaRanch Style Guide.
subject: D/B connectivity problem