I was trying o set org.apache.myfaces.SUPPORT_JSP_AND_FACES_EL to false. The goal is to improve performance and solve the problem I mentioned here<http://stackoverflow.com/questions/22641696/jsf-how-to-redirect-to-404-error-page-without-jstl>, but I was getting this error: HTTP Status 500 - No Factories configured for this Application.
After a lot of search I found this post<http://grokbase.com/p/myfaces/users/13b1tv2m9n/performance-params>, where it's mentioned that I would need to set org.apache.myfaces.EXPRESSION_FACTORY. I think MyFaces documentation is great, much better than Mojarra's, but shouldn't be a note about this here<http://myfaces.apache.org/core22/myfaces-impl/webconfig.html#org_apache_myfaces_SUPPORT_JSP_AND_FACES_EL> ? Anyway, as I'm using Tomcat, I configured org.apache.myfaces.EXPRESSION_FACTORY with org.apache.el.ExpressionFactoryImpl. Its working fine, but I didn't wan't to make my webapp Tomcat dependent, so is there a MyFaces class that can delegate to the appropriated container class? Thanks