wood burning stoves 2.0*
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "D/B connectivity problem" Watch "D/B connectivity problem" New topic
Author

D/B connectivity problem

Ganesh Kumar Kalamadugu
Greenhorn

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
Marshal

Joined: Mar 22, 2005
Posts: 42293
    
  64
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).


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: D/B connectivity problem