http500错误

http 500内部服务器错误,请与管理员联系。

请尝试以下操作:

·打开主页,然后查找指向您感兴趣信息的链接。
·单击后退链接,尝试其他链接。
错误: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/1001-9057/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/1001-9057/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\webs\Jo\Jwk3_lcnkzz\.\fileup\1001-9057\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/1001-9057/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/1001-9057/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: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/1001-9057/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: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:525) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:418) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:321) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.filter.CountDayBrowseFilter.doFilter(CountDayBrowseFilter.java:47) at com.lyt.util.HttpFilter.doFilter(HttpFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.filter.AuthenticationFilter.doFilter(AuthenticationFilter.java:89) at com.lyt.util.HttpFilter.doFilter(HttpFilter.java:46) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:164) at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:141) at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:90) at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:406) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.filter.UrlRedirectFilter.doFilter(UrlRedirectFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.magtech.filter.UserGroupMapFilter.doFilter(UserGroupMapFilter.java:39) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.magtech.filter.XssFilter.doFilter(XssFilter.java:57) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.web.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.filter.JournalIDFilter.doFilter(JournalIDFilter.java:146) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.lyt.util.filter.ReadRequestRefererFilter.doFilter(ReadRequestRefererFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:652) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:617) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:876) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:612) at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1777) at java.lang.Thread.run(Thread.java:745) Caused by: java.io.FileNotFoundException: D:\magtech\webs\Jo\Jwk3_lcnkzz\.\fileup\1001-9057\PDF (拒绝访问。) at java.io.FileInputStream.open0(Native Method) at java.io.FileInputStream.open(FileInputStream.java:195) at java.io.FileInputStream.(FileInputStream.java:138) at org.apache.jsp.CN.article.openArticlePDF_jsp._jspService(openArticlePDF_jsp.java:184) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:723) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:388) ... 49 more