Page directive must not have multiple occurrences of pageencoding

深藏阁楼爱情的钟 2021-09-11 01:20 276阅读 0赞

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

  1. org.apache.jasper.JasperException: /cluster_host.jsp (line: 3, column: 1) Page directive must not have multiple occurrences of pageencoding
  2. org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
  3. org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:443)
  4. org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:103)
  5. org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:196)
  6. org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:589)
  7. org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
  8. org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2444)
  9. org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2450)
  10. org.apache.jasper.compiler.Node$Root.accept(Node.java:474)
  11. org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2392)
  12. org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1805)
  13. org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:196)
  14. 原因是jsp中制定了多次编码方式。删除多余的即可。
  15. pageEncoding="utf-8"

发表评论

表情:
评论列表 (有 0 条评论,276人围观)

还没有评论,来说两句吧...

相关阅读