org.apache.jasper.JasperException:AnexceptionoccurredprocessingJSPpage/testCon.jspatline1411:Stringdriver="org.git.mm.mysql.Driver";12:Stringurl="jdbc:mysql://localhost:3...
org.apache.jasper.JasperException: An exception occurred processing JSP page /testCon.jsp at line 14
11: String driver = "org.git.mm.mysql.Driver";
12: String url = "jdbc:mysql://localhost:3306/family?useUnicode=true&characterEncoding=gb2312";
13: String SQL_Qry="SELECT * FORM birthday";
14: Connection db = DriverManager.getConnection(url);
15: Statement SQL_CMD=db.createStatement();
16: ResultSet Qry = SQL_CMD.executeQuery(SQL_Qry);
17: out.print("djlfsjldfj");
我的jsp的代码是:
String driver = "org.git.mm.mysql.Driver";
String url = "jdbc:mysql://localhost:3306/family?useUnicode=true&characterEncoding=gb2312";
String SQL_Qry="SELECT * FORM birthday";
Connection db = DriverManager.getConnection(url);
Statement SQL_CMD=db.createStatement();
ResultSet Qry = SQL_CMD.executeQuery(SQL_Qry);
out.print("djlfsjldfj");
%>
请问是什么情况呢?
展开