Results 1 to 2 of 2

Thread: DispatcherPortlet behaviour

  1. #1
    Join Date
    Feb 2009
    Location
    London, UK
    Posts
    24

    Default DispatcherPortlet behaviour

    I've recently encountered a scenario where the DispatcherPortlet throws an UnavailableException if it is unable to find a handler for the specified mode.

    Is there a sensible default way to override this behaviour, as it can have some negative side-effects on the portlet's availability.

    --
    Stephen Souness

  2. #2
    Join Date
    Nov 2006
    Location
    Columbus, OH
    Posts
    143

    Default

    You need to look into an Exception Handler, either at the web.xml level or in your spring context, see http://static.springsource.org/sprin...eptionhandlers for more information.

    Hope that helps
    Regards,

    Joshua Preston

    --

    "The Guide says that there is an art to flying," said Ford, "or rather a knack. The knack lies in learning how to throw yourself at the ground and miss."

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •