This webapp shows several ways to use Shale Clay to build reusable views. It mixes view technologies. This application uses several types of templates that are entry points in defining pages (JSP, HTML, and XML). This is most likely not a normal scenario and not something natively supported by JavaServer Faces. JSF encourages only one type of page entry point.
All JSF managed views must be dispatched through the faces servlet
that behaves as the front in controller. JSF also allows you to to
define the suffix you will be using for your page template technology
and only one is allowed. Both of these settings are defined in the
This application bends the rules using a Shale
Application Manager preproces filter
In most applications you will choose one type of template as your page entry point. Therefore, you will only need one servlet mapping and the default suffix parameter should match your servlet mapping choice.