How to configure managed bean in the xml file?
Answer / Roopendra Kumar
To configure a Managed Bean in an XML file, you should define it in the faces-config.xml file using the <managed-bean> element. The configuration includes setting name, class, and scope attributes.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the use of controller module?
What are the different types of JSF events?
Explain the jsf architecture.
Why is jsf not as popular as, for example, mvc frameworks like spring mvc, although jsf is older and included in jee?
Can there be no faces-config.xml for jsf application?
What is h:messages tag in jsf (javaserver faces)?
What is eager managed bean?
What are the available scopes for the managed bean?
Define jsf?
What is f:convertnumber tag in jsf (javaserver faces)?
Explain immediate and rendered attributes?
How different components are rendered in JSF page?