Multiple choice technology platforms and products

A storefront is using the Struts declarative exception handling framework. The appropriate method for defining the text of error messages, used by the Struts framework, is to create a new:

  1. global-forwards

  2. action-mappings

  3. message-resources

  4. global-exceptions

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The Struts framework uses message-resources (MessageResources properties files) to define error message text that the framework uses for exception handling. These resource bundles contain key-value pairs where the framework looks up messages by key to display localized error text to users, which is the standard approach for externalizing message text in Struts applications.