错误:org.apache.jasper.JasperException: An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115
112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠�
113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚�
114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢
115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴�
116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖�
117: int len;
118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇
Stacktrace:
错误码:500
信息:
异常:null
exception:org.apache.jasper.JasperException: An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115
112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠�
113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚�
114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢
115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴�
116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖�
117: int len;
118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇
Stacktrace:
cause:java.io.FileNotFoundException: D:\Magtech\app\Jwk_tpyxb\.\fileup\PDF\20180808.pdf (系统找不到指定的文件。)
message:An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115
112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠�
113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚�
114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢
115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴�
116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖�
117: int len;
118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇
Stacktrace:
localizedMessage:An exception occurred processing JSP page /CN/article/openArticlePDF.jsp at line 115
112: OutputStream os = response.getOutputStream(); // 椤甸潰杈撳嚭娴侊紝jsp/servlet閮藉彲浠�
113: response.addHeader("Content-Disposition", new String(("filename="+article.getPdf_WenJian()).getBytes("GBK"), "ISO-8859-1")); // 閽堝涓枃鏂囦欢鍚�
114: File f = new File(application.getRealPath(".")+"/fileup/PDF/"+article.getPdf_WenJian()); // 浣犵殑鏂囦欢
115: InputStream is = new FileInputStream(f); // 鏂囦欢杈撳叆娴�
116: byte[] bs = new byte[1024]; // 璇诲彇缂撳啿鍖�
117: int len;
118: while ((len = is.read(bs)) != -1) { // 寰幆璇诲彇
Stacktrace:
stackTrace:[Ljava.lang.StackTraceElement;@2312887f