DEVFYI - Developer Resource - FYI

How can one make any “Message Resources” definitions file available to the “Struts Framework” environment?

Struts Questions and Answers


(Continued from previous question...)

81. How can one make any “Message Resources” definitions file available to the “Struts Framework” environment?

Answer: “Message Resources” definitions file are simple .properties files and
these files contain the messages that can be used in the struts project.
“Message Resources” definition files can be added to the struts-config.xml file
through <message-resources /> tag. Example:
<message-resources parameter="MessageResources" />

(Continued on next question...)

Other Interview Questions