帮忙看看!
org.apache.jasper.JasperException: Exception in JSP: /checke/start.jsp:28
25: }
26: String ext = smart.getFiles().getFile(0).getFileExt();
27: String fileName =smart.getRequest().getParameter( "name ");
28: smart.getFiles().getFile(0).saveAs(url+ "/ "+fileName+ ". "+ext);
29: %>
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handle
JspException(JspServletWrapper.java:467)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:389)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
root cause
java.lang.IllegalArgumentException: This path does not exist (1135).
com.jspsmart.upload.SmartUpload.getPhysicalPath(SmartUpload.java:1089)
com.jspsmart.upload.File.saveAs(File.java:91)
com.jspsmart.upload.File.saveAs(File.java:65)
org.apache.jsp.checke.start_jsp._jspService(start_jsp.java:81)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
------解决方案--------------------你保存的路径不存在, "url+ "/ "+fileName+ ". "+ext "换成 "url+ "// "+fileName+ ". "+ext "试试看,并确保url代表的目录存在。