title: struts resource bundle properties file not mapping some keys
body: <p>I'm starting to study struts and I have a problem using resource properties file</p>
  
  <p>some text on page is displayed as this:</p>
  
  <pre><code>???login.message???
  ???login.username???    
  ???login.password???
  </code></pre>
  
  <p>but some other messages are correctly taken from properties file. I think that the propertis file is correctly configured but I'm missing something to display anything correctly.</p>
  
  <p>the file ApplicationResources.properties</p>
  
  <pre><code># Resources for Login Project
  
  # Struts Validator Error Messages
  # These two resources are used by Struts HTML tag library
  # to format messages. In this case we make sure that errors
  # are red so that they can be noticed.
  errors.header=&lt;font color="red"&gt;* 
  errors.footer=&lt;/font&gt;
  
  #errors associated with the Login page
  error.username.required=username required.
  error.password.required=password required
  error.login.invalid=The system could not verify your username or password. Is your CAPS LOCK on? Please try again.
  
  #login page text
  login.title=this is a title
  login.message=please log in
  
  login.username=username:
  login.password=password:
  login.button.signon=Log In
  
  #loggedin page text
  loggedin.title=Login Project
  loggedin.msg=Benvenuto, {0}. You are now logged in.
  </code></pre>
  
  <p>"error.login.invalid" is correctly displayed and "error.username.required" too</p>
  
  <p>the login label not</p>
  
  <p>this is my jsp page</p>
  
  <pre><code>    &lt;%@ page language="java" contentType="text/html; charset=ISO-8859-1"
      pageEncoding="ISO-8859-1"%&gt;
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt;
  
  
  &lt;%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %&gt;
  &lt;%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %&gt;
  &lt;html:html locale="true"/&gt;
  
  &lt;html&gt;
  &lt;head&gt;
  
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"&gt;
  
  &lt;fmt:bundle basename="ApplicationResources"/&gt;
  &lt;title&gt;&lt;fmt:message key="login.title"/&gt;&lt;/title&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  &lt;html:errors property="login"/&gt;
  &lt;html:form action="login.do" focus="userName" &gt;
  &lt;table align="center"&gt;
          &lt;tr align="center"&gt;
              &lt;td&gt;&lt;H1&gt;&lt;fmt:message key="login.message"/&gt;&lt;/H1&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr align="center"&gt;
              &lt;td&gt;
                  &lt;table align="center"&gt;
                      &lt;tr&gt;
                          &lt;td align="right"&gt;
                              &lt;fmt:message key="login.username"/&gt;
                          &lt;/td&gt;
                          &lt;td align="left"&gt;
                              &lt;html:text  property="userName" 
                                          size="15" 
                                          maxlength="15" /&gt;
                              &lt;html:errors property="userName" /&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;   
                      &lt;tr&gt;
                          &lt;td align="right"&gt;
                              &lt;fmt:message key="login.password"/&gt;
                          &lt;/td&gt;
                          &lt;td align="left"&gt;
                              &lt;html:password  property="password" 
                                              size="15" 
                                              maxlength="15" 
                                              redisplay="false"/&gt;
                              &lt;html:errors property="password" /&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;   
                      &lt;tr&gt;
                          &lt;td colspan="2" align="center"&gt;
                              &lt;html:submit&gt;
                                  &lt;fmt:message key="login.button.signon"/&gt;
                              &lt;/html:submit&gt;
                          &lt;/td&gt;
                      &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/td&gt;
          &lt;/tr&gt;
      &lt;/table&gt;
  
  
  &lt;/html:form&gt;
  
  
  
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Can you help me ?
  tkz</p>