I am currently learning JavaEE at school and see no point in the web.xml file and the face-config.xml file. I know from my 3rd edition of the Core Java Server Faces tutorial that the face-config file may have additional configuration options located in it. For example, I saw what I consider to be a declaration of some of my bean parameters in the face-config file and some navigation to other pages, such as ...
<navigation-rule>
<navigation-case>
<from-outcome>startOver</from-outcome>
<to-view-id>/index.xhtml</to-view-id>
<navigation-case>
</navigation-case>
And what is hout web.xml for? The tutorial says that my web.xml and beans.xml are necessary for the application server to be happy. Ok, but how do web.xml and face-config.xml interact? They are? Are these two files as a frame for my painting and a canvas for me to paint?
source
share