Is faces-config.xml deprecated or necessary for JSF 2.0?

Switching to docs , it looks like faces-config.xml is required. However, for some reason I thought Facelets used annotations, and therefore xml-config (?) Is not required. They say:

To configure JavaServer Faces Facelets features as ViewHandler, modify your face-config.xml project to specify an element

It seems that Facelets tutorials are often dead links or, as above, will soon be dead links :(

+3
source share
2 answers

"", , Facelets 1.x, Facelets 2.x, JSF 2.0. Facelets 1.x, Facelets/JSF 2.x. Java EE 6 Facelets 2.x tutorial JSF 2.x.

, Facelets, JSF 2.x.

: *.dev.java.net *.java.net, ; URL- , . *.dev.java.net, dev ( https- http).

: . . .

+5

Faces-config.xml , , . Facelets, JSF. .

+4

All Articles