Author: julien(a)jboss.com
Date: 2008-03-03 10:41:53 -0500 (Mon, 03 Mar 2008)
New Revision: 10183
Modified:
modules/portlet/trunk/docs/user-guide/en/modules/simpleportal.xml
Log:
perform error handling in a error handling filter instead of the controller filter
Modified: modules/portlet/trunk/docs/user-guide/en/modules/simpleportal.xml
===================================================================
--- modules/portlet/trunk/docs/user-guide/en/modules/simpleportal.xml 2008-03-03 15:40:18
UTC (rev 10182)
+++ modules/portlet/trunk/docs/user-guide/en/modules/simpleportal.xml 2008-03-03 15:41:53
UTC (rev 10183)
@@ -245,6 +245,15 @@
<para>By default there is a servlet filter that catches the messages
and translates them into HTTP errors.
This filter is called <literal>ErrorHandlingFilter</literal>
and is declared in the <filename>web.xml</filename>
file of the simple portal war. If you want to handle error differently you
should replace it.</para>
+ <programlisting><![CDATA[
+<web-app>
+ ...
+ <filter-mapping>
+ <filter-name>ErrorHandlingFilter</filter-name>
+ <url-pattern>*.jsp</url-pattern>
+ </filter-mapping>
+ ...
+</web-app>]]></programlisting>
</sect4>
</sect3>
</sect2>
Show replies by date