I am using
struts.custom.i18n.resources=file1,file2
file1
enter.user = User name
file2
enter.user = User name1
What will be the output for enter.user ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It has to do with the order you write the resources in struts.custom.i18n.resources property.
The last one ‘wins’.
Now you have
file2 is the last so file2 wins and the output will be ‘User name1’
if you had
file1 would be the last so the output would be ‘User name’