![]() |
#2
hhwz2015-10-21 11:48
|
org.apache.jasper.JasperException: An exception occurred processing JSP page /exa7_2.jsp at line 6
3: <html><head><title> 操作数据库的简单实例</title></head>
4: <body>
5: <%
6: Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); //加载驱动程序
7: String url = "jdbc:odbc:stu_admin"; //定义JDBC URL
8: String user="sa"; //数据库的用户名
9: String password="87520852"; //数据库的密码
第六行有错,不过不知道错那里了。