org.apache.jasper.JasperException:An exception occurred processing JSP page /name.jsp at line 3org.apache.jasper.JasperException:An exception occurred processing JSP page /cypdb/name.jsp at line 31:
来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/25 23:38:19
org.apache.jasper.JasperException:An exception occurred processing JSP page /name.jsp at line 3org.apache.jasper.JasperException:An exception occurred processing JSP page /cypdb/name.jsp at line 31:
org.apache.jasper.JasperException:An exception occurred processing JSP page /name.jsp at line 3
org.apache.jasper.JasperException:An exception occurred processing JSP page /cypdb/name.jsp at line 3
1:
org.apache.jasper.JasperException:An exception occurred processing JSP page /name.jsp at line 3org.apache.jasper.JasperException:An exception occurred processing JSP page /cypdb/name.jsp at line 31:
org.apache.jasper.JasperException说的是页面语法有问题
重点检查第三行语法
①Class.forName("com.mysql.jdbc.Driver").newInstance();需要处理异常,加上try…catch
try{
}
catch(Exception e){}
②com.mysql.jdbc.Driver是否引入mysql的jdbc驱动
③检查编码的拼写是否正确!