Multiple choice technology programming languages

Correct format?

  1. <message-resources parameter="application_resource"/>

  2. <message-resources file="application_resource"/>

  3. <message-resources include="application_resource"/>

  4. None of the above

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

The tag in struts-config.xml uses the 'parameter' attribute to specify the base name of the resource bundle. For example, parameter='application_resource' points to files like application_resource.properties. The correct syntax is , not 'file' or 'include'.