Announcement Announcement Module
No announcement yet.
How to handle `Handler Not Found` condition? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to handle `Handler Not Found` condition?

    In my application I want to handle the `Handler Not Found` condition using a custom page.

    Now I'm using the `web.xml` `error-page` mapping with `<error-code>403</error-code>` to handle this case.

    But the problem I'm facing is when the requests are redirected by this `web.xml` configuration it is not going through the filters I defined in `web.xml` file. Because of this I'm not able to resolve the `SecurityContext` or the `theme` in my error page controller.

    Can anybody guide me to solve this issue?

    Thank you.