HTTP Status 500 - /jsp/pm/chronologicalBook.jsp (line: 18, column: 1) Page directive must not have multiple occurrences of pageencoding
type Exception report
message /jsp/pm/chronologicalBook.jsp (line: 18, column: 1) Page directive must not have multiple occurrences of pageencoding
description The server encountered an internal error that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: /jsp/pm/chronologicalBook.jsp (line: 18, column: 1) Page directive must not have multiple occurrences of pageencoding 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:196) org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:580) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444) org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450) org.apache.jasper.compiler.Node$Root.accept(Node.java:471) org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392) org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1813) org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:198) org.apache.jasper.compiler.Compiler.compile(Compiler.java:372) org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) org.apache.jasper.compiler.Compiler.compile(Compiler.java:333) org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:368) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:385) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:329) javax.servlet.http.HttpServlet.service(HttpServlet.java:729) org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) org.apache.struts2.result.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:167) org.apache.struts2.result.StrutsResultSupport.execute(StrutsResultSupport.java:208) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:366) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:270) com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:133) com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:97) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240) com.qianxunkuaiji.filter.LoginInterceptor.intercept(LoginInterceptor.java:58) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:240) org.apache.struts2.factory.StrutsActionProxy.execute(StrutsActionProxy.java:54) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:556) org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:81) org.apache.struts2.dispatcher.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:113)
note The full stack trace of the root cause is available in the Apache Tomcat/8.5.11 logs.
答:是不是页面有两个pageEncoding定义重复