Programming Tutorials

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