最近遇到一个bug,做一个信息导出excel的操作,在IE8,ff下都很正常,但是在Ie6下面点击导出就报错,日下错误:
2012-2-6 15:47:50 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet default threw exception
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.sendError(ResponseFacade.java:407)
at org.apache.struts2.dispatcher.Dispatcher.sendError(Dispatcher.java:752)
at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:505)
at org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at cn.com.qytx.filter.SessionFilter.doFilter(SessionFilter.java:49)
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:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:861)
at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:579)
at org.apache.tomcat.util.net.AprEndpoint$Worker.run(AprEndpoint.java:1584)
at java.lang.Thread.run(Thread.java:619)
页面上的导出按钮是一个超链接:
<a href="javascript:void(0)" class="easyui-linkbutton" onclick="export_exl();" iconCls="icon-redo">导出</a>
最后想到可能是IE6对javascript:void(0);的支持问题,最后修改为#后不再报错!
分享到:
相关推荐
严重: Servlet.service() for servlet jsp threw exception java.lang.UnsupportedClassVersionError: com/util/PostUtil at org.apache.jsp.shouye.index_jsp._jspService(index_jsp.java:84) at org.apache....
2020-04-27 22:15:44.892 ERROR 13764 --- [nio-8081-exec-9] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request ...
解决Anolis(龙蜥),解决System.TypeInitializationException: The type initializer for ‘Gdip’ threw an exception.
严重: Servlet /LogMess threw load() exception java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet 这个问题应该是spring包所带来的问题,最后还是从新下了一个spring2.5的...
SpringMVC4.3.6配置json所需要的jar包,不是使用最新最高的版本可以的,我尝试了,有错误:严重: Servlet.service() for servlet [springMVC] in context with path [/30-returnVoid-ajax] threw exception [Handler...
错误八:javax.servlet.ServletException: Servlet.init() for servlet [Springmvc] threw exception 错误原因:web.xml 配置的 servlet 与实体文件不符 解决方式:检查 web.xml 配置是否正确,并确保 servlet 与...
严重: Servlet.service() for servlet dispatcherServlet threw exception java.lang.ClassNotFoundException: antlr.ANTLRException 当报antlr.ANTLRException错误时,只要添加一个这个jar就行了
JiebaNet分词动态库支持.NET 4.0、.NET 4.5、.NET 2.0 包含:JiebaNet.Analyser.dll、JiebaNet.Segmenter.dll 两个文件 支持进行分词、检索(多种模式)、维护词典。
在做 jsp 上传图片时,把 java 代码直接改成 jsp,上传时产生 如下异常: 2012-12-31 8:59:21 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet jsp threw exception java...
nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.topsec.tbm.web.auth.TbmRealm]: Constructor threw exception; nested exception is Java....
java.lang.NoSuchFieldError: Companion 问题的解决方案
- throw: threw, thrown - understand: understood, understood - wake: woke, woken - wear: wore, worn - win: won, won - write: wrote, written - spend: spent, spent - stand: stood, stood 2. 英语...
此工程集成了nexus私服,配合我的“nexus搭建和基于spring boot2.x的配置,centos7"博客,可以使用spring boot集成nexus
* 若启动中报 Servlet.service() for servlet jsp threw exception 错误,可能是 Maven 库生成的包与 TOMCAT 中的 servlet-api.jar,jsp-api.jar 包有冲突,进入项目文件将冲突的包删除就可以。 Myeclipse 配置 ...
Console.WriteLine("Service threw an exception!"); throw; } finally { Console.WriteLine("After service call"); } } } ``` 我们可以使用自定义的拦截器Attribute来装饰我们的服务类,例如: ```...
2011-1-8 20:34:20 org.apache.catalina.core.StandardWrapperValve invoke 严重: Servlet.service() for servlet default threw exception java.lang.IllegalStateException at org.apache.catalina.connector....
标题中的"excel转换成pdf的spire.xls包"是指一个工具包,该工具包主要用于将Excel文件转换为PDF格式。这个工具包包含了两个版本的Java类库:`spire.xls.free-2.2.0.jar` 和 `Spire.Xls.jar 3.9.1`。这两个类库都是由...
### 错误二:`StandardWrapperValve[action]:Servlet.service() threw exception` **错误现象**: 这类错误往往与Struts框架结合使用Hibernate时出现,表现为Servlet服务执行失败,提示`javax.servlet.jsp....
#### 一、`Servlet.service() for servlet jsp threw exception` 在Struts框架的开发过程中,我们经常会遇到一些常见的异常情况,这些异常不仅会打断我们的工作流程,还会影响到应用程序的正常运行。本文将针对`...