Java EE 7 Application Developer — Question 35
You have been asked to implement internationalization in your JSF web application.
Where do you configure the supported locales?
Answer options
- A. in the <f:view> tag of the Facelet page
- B. in the web.xml file
- C. in the faces-config.xml file
- D. in the src folder
Correct answer: C
Explanation
The correct answer is C because the faces-config.xml file is specifically designed for configuring various aspects of JSF applications, including locale settings. Options A and B do not provide the necessary configuration for internationalization, and option D is not a valid configuration file for this purpose.