This content has been marked as final. Show 3 replies
Well if you need to localize your strings ResourceBundle is the way to go.
thanks for your quick reply,
but how can can i load it using ResourceBundle, my prop file located in WEB-INF/classes/myprop.properties
WEB-INF/classes should be in your classpath. The web container takes care of that.
All you have to do is call ResourceBundle.getBundle("myprop").
It'll append the .properties for you.