Servlet,JDBC....no suitable driver


I'm trying to get a connection from our Oracle database from my servlet.  The servlet will be for intranet use.  The exception being thrown is:
 java.sql.SQLException: No suitable driver

I've included all the driver classes in my jar file.

My OS is RedHat Linux8.0
Servlet runner is Tomcat4.0.6
Oracle client is Oracle8.1.6
and Jsdk1.4.1

what should I do to get around this problem??

Thanks,
sudha
sudhamayiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
OviConnect With a Mentor Commented:
the driver jar should Web-Inf\lib\ directory.
0
 
CleanupPingCommented:
sudhamayi:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
jimmackCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept Ovi's comment as answer.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

jimmack
EE Cleanup Volunteer
0
All Courses

From novice to tech pro — start learning today.