HTTP Status 500 – Internal Server Error


Type Exception Report

Message /website/specialtopic/jsp/info_sjgy.jsp (line: [24], column: [6]) Page directive: illegal to have multiple occurrences of 'contentType' with different values (old: [text/html;charset=gb2312], new: [text/html; charset=utf-8])

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

org.apache.jasper.JasperException: /website/specialtopic/jsp/info_sjgy.jsp (line: [24], column: [6]) Page directive: illegal to have multiple occurrences of 'contentType' with different values (old: [text/html;charset=gb2312], new: [text/html; charset=utf-8])
	org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:41)
	org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:291)
	org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:114)
	org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:138)
	org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:579)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2389)
	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2441)
	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2447)
	org.apache.jasper.compiler.Node$Root.accept(Node.java:470)
	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2389)
	org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1815)
	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:199)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:373)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:350)
	org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
	org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:595)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:399)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
	org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	com.sunrister.manage.filter.PermissionFilter.doFilter(PermissionFilter.java:50)
	com.sunrister.manage.filter.SQLFilter.doFilter(SQLFilter.java:52)
	com.sunrister.manage.filter.XssFilter.doFilter(XssFilter.java:42)
	org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:428)
	org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:103)
	org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)
	org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)

Note The full stack trace of the root cause is available in the server logs.


Apache Tomcat/8.5.37