Using EL 2.2 with Tomcat 6.0.24

前端 未结 4 2009
慢半拍i
慢半拍i 2020-12-05 03:13

With JSF 2 you should be able to do this:


which would then call the act

4条回答
  •  独厮守ぢ
    2020-12-05 04:00

    Replacing el-api.jar and el-impl.jar with el-api-2.2.jar and el-impl-2.2.jar solve the problem.

    Also you need to add in your context.xml the context parameter

    
        org.apache.myfaces.EXPRESSION_FACTORY
        com.sun.el.ExpressionFactoryImpl
    
      
        com.sun.faces.expressionFactory
        com.sun.el.ExpressionFactoryImpl
      
    

提交回复
热议问题