I am having problem when i was try to connect the database, while using servlets. It was throwing an exception called ClassNotFoundException, actually i know the meaning of the exception but it was working when i am doing simple applications and also in the swing applications but it was making problem when it comes to servlets only, please tell me the solution for this
You didn't mention which class was not found -the exception should tell you that- but I'm guessing that it is the JDBC driver. Did you put the jar file that contains the driver into the WEB-INF/lib directory of your web application?
Ping & DNS - updated with new look and Ping home screen widget
you can also add jar in CLASSPATH entry of the server you are using. for example,if you are using weblogic server and Oracel DB, add classes12.jar to CLASSPATH entry in driver:\bea\user_projects\domains\mydomain\startManagedWebLogic.cmd(or .sh if it is in unix). restart the server deploy the application