myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fischman_98 <mfisc...@powerconsultantsinc.com>
Subject web.xml <error-page> and extensionFilter Mapping
Date Thu, 20 Sep 2007 17:37:36 GMT

I am having trouble understanding why a file with the url-pattern .jsf works
for the error page but the url-pattern /faces/* doesn't.  Any thoughts? 
Thanks.

filter-mapping
 <filter-mapping>
  <filter-name>extensionsFilter</filter-name>
  <url-pattern>*.jsf</url-pattern>
 </filter-mapping>
 <filter-mapping>
  <filter-name>extensionsFilter</filter-name>
  <url-pattern>/faces/*</url-pattern>
 </filter-mapping>

This Works:
<error-page>
  <error-code>500</error-code>
  <location>/test1.jsf</location>
 </error-page>

This Doesn't:
<error-page>
  <error-code>500</error-code>
  <location>/faces/test1.jsp</location>
 </error-page>
-- 
View this message in context: http://www.nabble.com/web.xml-%3Cerror-page%3E-and-extensionFilter-Mapping-tf4489016.html#a12802162
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Mime
View raw message