You will need to localise all of your strings..Follow each of the steps illustrated here
http://struts.apache.org/userGuide/building_view.html
HTH,
Martin-
----- Original Message ----- From: "Laurie Harper" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, September 26, 2005 2:44 PM
Subject: Re: Why the message in ApplicationResources cannot be retrieved?


梁炳場 wrote:
Output of the following is only "English Chinese".
The message (main.home) in ApplicationResources cannot be written out.
No error message.

Any advice?

<td valign="bottom">
<div align="right">&nbsp;</div>
<div align="right">&nbsp;</div>
<div align="right">English &nbsp; Chinese <html:link action="home">
<bean:message key="main.home" />
</html:link></div>
</td>

You need to supply more information: how are your message resources configured in struts-config.xml? where is your resource properties file stored in the deployed webapp? what does it contain? what errors (if any) do you get when the page is rendered?

You probably don't have your resource file in the correct place, but it's impossible to be sure without more info.

L.


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



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

Reply via email to