This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am using JSTL tags for internationalization on my JSP pages. Also some information which i am getting from servlet. I am getting the localized value using java code only. So is it the right way to do it. Is there any better way to do this?
I am getting the localized value using java code only.
The scenario specified by you is not clear, how you are getting the localized values?
One way, and I think the better way is, maintaining the properties files for various languages and based on the required langauge/locale, loading the corresponding property file. You can use resource bundle here.