Is it possible that when I use the “getText(“keyName”); in action class, I can specify that pick the value from ENGLISH resource bundle ONLY. Because I just want to use this value for logging purposes.
Any thoughts how can I achieve this?
BR
SC
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.
You can do what you’re looking for with:
This is a utility class in XWork (Struts2) that handles localization.