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=4451>.
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=4451

Using ResourceBundle into a JSP doesn't work if .properties files is put into a 
subdirectory

           Summary: Using ResourceBundle into a JSP doesn't work if
                    .properties files is put into a subdirectory
           Product: Tomcat 3
           Version: 3.2.3 Final
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Jasper
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am using a java.util.ResourceBundle into my JSP: java.util.ResourceBundle rb 
= java.util.ResourceBundle.getBundle("client");
If I put the client.properties file into the same directory as the JSP, 
everyting works fine. If I put the client.properties into a subdirectory (e.g. 
props/client.properties) and I change the constructor accordingly: 
java.util.ResourceBundle rb = java.util.ResourceBundle.getBundle
("props.client"); I get the following error: javax.servlet.ServletException: 
Can't find bundle for base name props.client, locale it_IT.
The same directory structure works well with WebSphere v3.02.

Reply via email to