[TOMCAT/JSF] <servlet-mapping> VS DEFAULT_SUFFIX

[TOMCAT/JSF] <servlet-mapping> VS DEFAULT_SUFFIX

am 30.12.2007 22:44:23 von alain.habra

Hello guys,

I am currently bulding a Tomcat Server working with JSF.

I am trying to understand the difference between
and javax.faces.DEFAULT_SUFFIX.

Using;

Faces Servlet
*.faces


I guess any file.faces will be interpreted as a JSF file.

I thought it was enough, but often I find in some examples:

javax.faces.DEFAULT_SUFFIX
.xhtml


Why could we need this parameter ?

Thank you for helping :)

Happy new year !

Alain