Saturday, 5 September 2015

How do you declare the managed beans in the faces-config.xml file?

The bean instance is configured in the faces-config.xml file:

<managed-bean>
         <managed-bean-name>login</managed-bean-name>
         <managed-bean-class>com.developersBookJsf.loginBean</managed-bean-class>
         <managed-bean-scope>request</managed-bean-scope>
</managed-bean>

No comments:

Post a Comment