Title: class not found error
Mohan:
 
This might be because as a servlet, your program is using the classpath specified by the servlet engine, not the one in your environment. This can make things that are found one way not be found when they are run as a servlet.
 
Mike
Javacorporate Ltd
http://www.javacorporate.com
-----Original Message-----
From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Sundaram, Mohana
Sent: Friday, September 03, 1999 4:58 PM
To: [EMAIL PROTECTED]
Subject: class not found error

Hi,

I'm using neon jdbc driver to access db2 database from a servlet.

        Class.forName("com.neon.jdbc.Driver").newInstance();

This code if present in a simple java application works fine. But when i converted the code to work in a servlet, it throws java.lang.ClassNotFound exception. Can some one help me out.

Mohan

Reply via email to