level 1
艾_你一生
楼主
<%String name = formatStr(request.getParameter("name"));String password = formatStr(request.getParameter("password"));try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");}catch(ClassNotFoundException e){ System.out.println(e);}try{ String url = "Jdbc.Odbc.jsp"; Connection con = DriverManager.getConnection(url); Statement sql = con.createStatement(); String condition = "update enter set name = '" + name + "' ," +"password='"+password+"'"; sql.executeUpdate(condition); }catch(SQLException e){ System.out.println(e);}%>报错java.sql.SQLException: No suitable driver谢谢高手的指教
2008年05月18日 02点05分
1