程序发生了错误,有可能该页面正在调试或者是设计上的缺陷.

JSP Error Page

An exception was thrown: class org.apache.jasper.JasperException:/include/t.jsp(1,1) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=utf-8, new: text/html; charset=GBK)

111/commune/smallexamlist.jsp
/commune/smallexamlist.jsp

With the following stack trace:

org.apache.jasper.JasperException: /include/t.jsp(1,1) Page directive: illegal to have multiple occurrences of contentType with different values (old: text/html; charset=utf-8, new: text/html; charset=GBK)
	at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
	at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
	at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:236)
	at org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:126)
	at org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:550)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2220)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:93)
	at org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:598)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2214)
	at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2220)
	at org.apache.jasper.compiler.Node$Root.accept(Node.java:457)
	at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2164)
	at org.apache.jasper.compiler.Validator.validate(Validator.java:1447)
	at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:296)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:277)
	at org.apache.jasper.compiler.Compiler.compile(Compiler.java:265)
	at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:299)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:315)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at com.jlxt.servlet.filter.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:29)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
	at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
	at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
	at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773)
	at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703)
	at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895)
	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
	at java.lang.Thread.run(Thread.java:595)