Please review this patch for inclusion in trunk.
Basically it replaces direct calls to org.apache.el.ExpressionFactoryImpl
to ExpressionFactory.newInstance().
And Tomcat implementation of el-api is modified to add
ExpressionFactory.newInstance() method which do it old way.

With this patch, is it easy to globally switch to different
implementation of Expression Language.
For instance for JSF2, you don`t need to specify
<context-param>
<param-name>com.sun.faces.expressionFactory</param-name>
<param-value>com.sun.el.ExpressionFactoryImpl</param-value>
</context-param>

which is awkward and ties to specific implementation.

More info: http://huksley.sdot.ru/141/tomcat-and-unified-e22.html

With kindest personal regards,
Ruslan Gainutdinov
<rusla...@gmail.com>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to