Friday, October 2, 2009

Integrate Spring with JSF1.2

With JSF1.2 the <variable-resolver> element of faces configuration (faces-config.xml) has been deprecated. The new element <el-resolver> has been added and replaces <variable-resolver> in <application> element tree.

When we integrate Spring with JSF we write in our faces-config.xml as


But with JSF1.2 we should write and integrate Spring with JSF as


Your web.xml entries remains unchanged

Note: SpringBeanFacesELResolver is available only in Spring 2.5 API

No comments:

Post a Comment