Uploaded image for project: '[Read Only] - Hippo Plugins'
  1. [Read Only] - Hippo Plugins
  2. HIPPLUG-1036

HST - Spring Framework Support - Custom HandlerExceptionResolver

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • hst-spring-support-0.1.1
    • 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

      Attachments

        Activity

          People

            wko Woonsan Ko (Inactive)
            RickSlot Rick Slot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1 day
                1d
                Remaining:
                Remaining Estimate - 1 day
                1d
                Logged:
                Time Spent - Not Specified
                Not Specified