By default, when you create a web application, faces-config.xmlit is not created automatically. We must create it manually, and, as I understand it, faces-config.xmlmust be strictly in WEB-INF.
So my question is:
Whether it is necessary to register faces-config.xmlin web.xmlafter creation in WEB-INFor in another folder or automatically register. That is, JSF "knows" what it is faces-config.xmland can find it in the entire project folder.
I hope I asked the right question .;)
source
share