Simple solution. Also noted that the bundle only gets loaded once and
everything seems to work fine. Spring rocks.
String[] config= new String[]{"applicationContext-resources.xml",
"applicationContext-dao.xml",
"applicationContext-service.xml"};
ApplicationContext context = new ClassPathXmlAp
May be a better or more appropriate way to do this but this works. You can
do this for any resource bundle you've created.
ResourceBundle bundle = ResourceBundle.getBundle("MyResources");
bundle.getString("myResourceBundleKey"));
-Andrew
arunabh wrote:
>
> hi ,
> I have a requirement to get
2 matches
Mail list logo