DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18293>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18293

Loading language files does not use Resource Bundle

           Summary: Loading language files does not use Resource Bundle
           Product: Struts
           Version: 1.1 RC1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Utilities
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


PropertyMessageResources.java does not use ResourceBundle.getBundle to retrieve
language properties files.

Currently properties are loaded using ClassLoader.getResourceAsStream by
constructing the path to the properties file based on the fully qualified class
name and appending ".properties".

ResourceBundle can use a class or a properties file.  This allows much better
flexibility.  A class can load the language file from any resource ie database.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to