Seems like you miss the error.header and error.footer entries in the 
resource file.

At 10:35 pm 10-09-2002, you wrote:
>I'm currently seeing "????" in my error messages using the <html:errors> tag
>in Struts 1.1 (b2) with multiple message resource files.  For example, I see
>the following:
>
>Correct the following error(s):
>???en_US.Please enter user ID and password.???
>
>I understand the "???" will appear when an unknown message key is used if
>you have null set to "false" in the message-resources declaration.  For
>example:
>
><message-resources key="LOGIN_MESSAGES_KEY"
>                      parameter="com.abc.training.LoginMessages"
>                      null="false"/>
>
>However, the message key is being found because "Please enter user ID and
>password" is the correct "value" for the key.  More specifically, my
>"com.abc.training.LoginMessages" file has the following key/value:
>
>error.login.blankUserIdPassword = Please enter user ID and password.
>
>My Java code poplulates the errors container as follows:
>
>       ActionErrors errors = new ActionErrors();
>       ResourceBundle bundle =
>ResourceBundle.getBundle("com.abc.training.LoginMessages");
>       errors.add(ActionErrors.GLOBAL_ERROR,
>                  new
>ActionError(bundle.getString("error.login.blankUserIdPassword")));
>
>Any ideas on why I'm seeing the "???" if the key is being successfully
>found?
>
>Thanks,
>
>JOHN HOHLEN

-- 
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com   m: +(65) 9782 9610

Scioworks Camino - "Don't develop Struts Apps without it!"
Copyright (c) 2002 John Yu/Scioworks Technologies. All rights reserved.


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

Reply via email to