Hi Shamshad, You have two solutions to this problem :
1) Just copy the Oracle driver jar to common/lib directory of tomcat & try. 2)In the tomcat.bat file specify the path in which your oracle driver islocated. This needs to be done because the tomcate 4.0 does not picks your system class path.Rather it picks the path specified in tomcat.bat. Also, it implicitly includes all jars in the class path which are in the common/lib directory of tomcat. Hope it helps. Cheers Sagar ----- Original Message ----- From: "Shamshad Alam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, May 28, 2002 5:38 AM Subject: Need help related to "JSP + JDBC + Oracle "! > Dear All, > I am using Tomcat 4.0, J2SDK 1.4.0 and Oracle 8i. The Operating system is > Windows 2000. Both Oracle and J2SDK are in C:\ drive. I wrote a simple Java > code which connects to Oracle database and updates it. The program is working > absolutely fine. I compiled and kept the .class file of this program under > C:\tommy\webapps\shamshad\WEB-INF\classes and I kept one jsp file, which > includes the java file, under C:\tommy\webapps\shamshad\jsp.Through an HTML > form I tried to write some data in Oracle database and get error like > "Error,Class Not Found > java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver > at org.apache.catalina.loader.WebappClassLoader.loadClass > der.java:1307)" > > I have set the classpath and tried with different combinations but it is yet > not working. I have wasted my 3 days in making it run.I beg for help. > Please,sugegst me how to solve this problem. > > Looking forward to your responses. > Thanking you > --Shamshad > Alam > > --------------------------------------------- > This message was sent using Endymion MailMan. > http://www.endymion.com/products/mailman/ > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". > Some relevant FAQs on JSP/Servlets can be found at: > > http://archives.java.sun.com/jsp-interest.html > http://java.sun.com/products/jsp/faq.html > http://www.esperanto.org.nz/jsp/jspfaq.jsp > http://www.jguru.com/faq/index.jsp > http://www.jspinsider.com > =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com