You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2006/04/14 18:56:17 UTC

filter-mapping order recommendations

This came up in a couple threads recently...

Shouldn't we recommend that the resource-serving filter-mapping be
listed as the first filter-mapping and that the page-rewriting
filter-mapping be listed as the last one, and that all other
filter-mappings should fall between them?

The resource-serving mapping may as well be triggered first since no
other mapping should affect it.   The page-rewriting mapping should be
listed last so that it rewrites the page before any other mapping does
anything.

Sound reasonable?