Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Struts 2 provides a easy to use configuration for handling uncaught exceptions and redirecting users to appropriate view pages. You can configure exception handling to be global for all actions or to just for a specific action. You can also enable the Struts 2 framework to log the uncaught exceptions.

Up Next

In our next tutorial we'll cover how to configure Struts 2 to handle any uncaught exceptions.

Next

Onward to Debugging Struts

Prev

Return to Exception Handling