This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
[EDIT: split this unrelated post from another topic. Please start new topics for new questions]
Thanks for your suggestion, the problem is solved. But i m stuck in another problem . The problem is that i m getting an exception when inserting values to the database as the exception is "Exception in thread main java.lang.noclassdeffounderror". My java file for my JSP project is in "C:\apache-tomcat-6.0.35\webapps\examples\WEB-INF\classes\ems\insert_details.java" and my jdk is in "C:\Program Files\Java\jdk1.5.0_04".
I search in google and found that it is due to missing of jar file. Can you tell me what jar to put and where. I have jstl and standard jar file in "C:\apache-tomcat-6.0.35\webapps\examples\WEB-INF\lib folder. should i have to put any other jar file or what. please help me. Thanks in advance.