Struts Problem Report

Struts has detected an unhandled exception:

Messages:
  • /init.jsp(8,1) JBWEB004159: Page directive: illegal to have multiple occurrences of 'contentType' with different values (old: text/html; charset=ISO-8859-1, new: text/html; charset=UTF-8)
  • File: org/apache/jasper/compiler/DefaultErrorHandler.java
    Line number: 42

    Stacktraces

    org.apache.jasper.JasperException: /init.jsp(8,1) JBWEB004159: Page directive: illegal to have multiple occurrences of 'contentType' with different values (old: text/html; charset=ISO-8859-1, new: text/html; charset=UTF-8)
        org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:42)
        org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:145)
        org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:96)
        org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:135)
        org.apache.jasper.compiler.Node$PageDirective.accept(Node.java:608)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2433)
        org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
        org.apache.jasper.compiler.Validator$DirectiveVisitor.visit(Validator.java:102)
        org.apache.jasper.compiler.Node$IncludeDirective.accept(Node.java:656)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
        org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2427)
        org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2433)
        org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
        org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2377)
        org.apache.jasper.compiler.Validator.validateDirectives(Validator.java:1711)
        org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:191)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:359)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:339)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:326)
        org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:606)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:308)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
        org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
        org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
        org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:940)
        org.apache.jsp.error_jsp._jspService(error_jsp.java:69)
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        com.filter.security.ConfigureBrowserXSSProtectionFilter.doFilter(ConfigureBrowserXSSProtectionFilter.java:77)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
        org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:620)
        org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:553)
        org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:482)
        org.apache.struts2.dispatcher.ServletDispatcherResult.doExecute(ServletDispatcherResult.java:164)
        org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
        com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
        org.apache.struts2.interceptor.DeprecationInterceptor.intercept(DeprecationInterceptor.java:41)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:256)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:167)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:265)
        org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:138)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:254)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:191)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:73)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:91)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:252)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:145)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:171)
        com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:139)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:193)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        com.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:189)
        com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246)
        org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
        org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)
        org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77)
        org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99)
        org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
        org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
        org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
        org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:277)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
        org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
        org.jboss.web.rewrite.RewriteValve.invoke(RewriteValve.java:458)
        org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
        org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:145)
        org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
        org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
        org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:336)
        org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
        org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:653)
        org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:920)
        java.lang.Thread.run(Thread.java:724)