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/11/16 05:40:13
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驱动
③检查编码的拼写是否正确!