首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

java.net.ProtocolException: Exceeded stated content-

2011-11-06 
文件下载的问题在文件下载的时候出现以下错误:2007-8-6下午03时11分25秒CSTErrorHTTPBEA-101019[

文件下载的问题
在文件下载的时候出现以下错误:
<2007-8-6   下午03时11分25秒   CST>   <Error>   <HTTP>   <BEA-101019>   <[ServletContext(id=9445859,name=WEB,context-path=/WEB)]   Servlet   failed   with   IOException
java.net.ProtocolException:   Exceeded   stated   content-length   of:   '15360 '   bytes
                at   weblogic.servlet.internal.ServletOutputStreamImpl.checkCL(ServletOutputStreamImpl.java:243)
                at   weblogic.servlet.internal.ServletOutputStreamImpl.write(ServletOutputStreamImpl.java:182)
                at   com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:579)
                at   com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:508)
                at   com.jspsmart.upload.SmartUpload.downloadFile(SmartUpload.java:476)
                at   jsp_servlet._deptmanage.__flow_detail_download._jspService(__flow_detail_download.java:154)
                at   weblogic.servlet.jsp.JspBase.service(JspBase.java:33)
                at   weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                at   weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                at   weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:305)
                at   weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6350)
                at   weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                at   weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                at   weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3635)
                at   weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                at   weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                at   weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
请问这是什么错误啊

[解决办法]
java.net.ProtocolException: Exceeded stated content-length of: '15360 ' bytes
=============================================================================
你的文件内容太大了.超出了.

热点排行