Comment on Tutorial - JSP Example to connect to MS SQL database and retrieve records By Abinaya



Comment Added by : hisham

Comment Added at : 2010-11-24 11:01:54

Comment on Tutorial : JSP Example to connect to MS SQL database and retrieve records By Abinaya
if done all the steps but i have found out this error after i run ,

exception

org.apache.jasper.JasperException: An exception occurred processing JSP page /test1.jsp at line 27

24: try{
25:
26: Class.forName("net.sourceforge.jtds.jdbc.Driver");
27: con = java.sql.DriverManager.getConnection(url, id, pass);
28:
29: }catch(ClassNotFoundException cnfex){
30: //cnfex.printStackTrace();

please i need to know why i got this error i have followed the same coding tec. and i got this error , i need someone to tell me where is the problem in that .


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. Hi, you put a semicolon after "int main()&quo
View Tutorial          By: noel4037 at 2009-12-28 06:40:17

2. Thank you, for simple and useful example.
View Tutorial          By: Dmitriy at 2011-09-04 20:53:53

3. i want daily tutorials
View Tutorial          By: ashish at 2007-12-18 04:26:19

4. hi iam new to java i need simple java programs pls
View Tutorial          By: naga at 2010-10-06 03:45:18

5. i am new in java so pls send insrutions in java
View Tutorial          By: shefeeja at 2012-10-09 02:22:15

6. Thanks summarized and useful
View Tutorial          By: Pegasus_Silvershade at 2010-09-10 18:02:49

7. i like your explanation it is understandable
View Tutorial          By: gerasmia yen-yen d. at 2009-07-15 21:12:39

8. so if you then wanted to send this gzencoded data
View Tutorial          By: Mike at 2009-03-18 12:12:28

9. Thanks, this is exactly i am looking for. I need t
View Tutorial          By: VictorH at 2009-08-31 16:11:55

10. This works great, just remember to add <uses-pe
View Tutorial          By: Nick at 2012-06-20 07:37:15