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



Ask a Question

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. This all works fine, but when I read records from
View Tutorial          By: Ayac at 2011-10-31 10:58:21

2. Good Explanation of code. But object declaration i
View Tutorial          By: Nitesh at 2011-12-28 12:37:09

3. The xml listed above will allow ANY domain to exec
View Tutorial          By: Mark McWhirter at 2012-10-09 05:58:14

4. Awesome information
View Tutorial          By: Pavan Somu @ Tech Tips at 2013-01-03 18:45:30

5. Hi,

Thanks for this example (glad t

View Tutorial          By: Thor at 2007-10-06 15:12:28

6. You know what will be usefull if we can use this
View Tutorial          By: mechkid at 2012-12-03 14:54:41

7. pls help me build a jar application for sending bu
View Tutorial          By: sam at 2011-08-13 11:31:03

8. thanks. worked.
View Tutorial          By: che at 2010-03-10 11:29:10

9. can we do it this procedure by iteration i know th
View Tutorial          By: sattar at 2010-05-03 03:00:20

10. how can get ip url...?
View Tutorial          By: arjuna at 2011-11-23 03:31:46