页面显示一个500的错误
北梦的梦境 2019-05-24 09:57:21 type Exception report
message An exception occurred processing JSP page /doadd.jsp at line 34
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: An exception occurred processing JSP page /doadd.jsp at line 34
31: Statement stat=con.createStatement();
32: String sp="/shipin/1.mp4";
33: String sql="insert into sp (id,name,sp) values(9,'titanic',LOAD_FILE("+sp+"))";
34: int r=stat.executeUpdate(sql);
35: if(r>0){
36: response.sendRedirect("userlist.jsp");
37: