Page directive must not have multiple occurrences of pageencoding
message /cluster_host.jsp (line: 3, 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: /cluster_host.jsp (line: 3, column: 1) Page directive must not have multiple occurrences of pageencoding
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:103)
org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:196)
org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:589)
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:474)
org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1805)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196)
原因是jsp中制定了多次编码方式。删除多余的即可。
pageEncoding="utf-8"
还没有评论,来说两句吧...