Is the problem when you display this page (a message resources problem) or
when you click on one of the links to this page that the new page does not
show properly (an Action path mapping problem) ?

Regards,
David

-----Original Message-----
From: ±ç¬±³õ [mailto:[EMAIL PROTECTED]
Sent: Monday, September 26, 2005 5:34 AM
To: Struts Users Mailing List
Subject: What's wrong in ApplicationResources.properties?


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]


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

Reply via email to