Details
-
New Feature
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
To show a pagenotfound when a spring component can't retrieve a document there is a need for a custom HandlerExceptionResolver that can redirect the request to the pagenotfound page.
to use it the following bean can be configured:
<bean class="com.indivirtual.exceptions.BridgeHandlerExceptionsResolver">
<property name="pageNotFound" value="pagenotfound"></property>
</bean>
the pagenotfound property must be the componentid of the pagenotfound page configured in the cms