What error do you get when you change the key? Most likely you're
missing the corresponding entries in your resource bundle
(MessageResources.properties or whatever you have configured in
struts-config.xml).
L.
梁炳場 wrote:
I change to bean key to main.welcome,
the webpage can be displayed.
If the bean key changes to main.home or main.contactUs
the webpage cannot be displayed properly.
what goes wrong?
Thnx
header.jsp:
<tr>
<td><html:link action="home"> <bean:message key="main.home"/> </html:link></td>
<td><html:link action="contactUs"> <bean:message key="main.welcome"/>
</html:link></td>
</tr>
ApplicationResources.properties:
main.welcome=Welcome to myERP
main.contactUs=Contact Us
main.home=home
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]