1.

What Is The Naming Convention For A Resource Bundle File In Struts2?

Answer»

The SIMPLEST naming format for a resource file is −

bundlename_language_country.properties

Here bundlename could be ActionClass, Interface, SuperClass, MODEL, Package, Global resource properties. NEXT PART language_country represents the country locale for example Spanish (Spain) locale is represented by es_ES and English (UNITED States) locale is represented by en_US etc. Here you can skip country part which is optional.

The simplest naming format for a resource file is −

bundlename_language_country.properties

Here bundlename could be ActionClass, Interface, SuperClass, Model, Package, Global resource properties. Next part language_country represents the country locale for example Spanish (Spain) locale is represented by es_ES and English (United States) locale is represented by en_US etc. Here you can skip country part which is optional.



Discussion

No Comment Found