P
PC Leung
Hello all,
How to make use of more than one resources files
as I want to group them by nature?
The following is my coding.
But I do not know how to specify in coding that I
want that message from that resource file.
web.xml:
<init-param>
<param-name>application</param-name>
<param-value>com.erp.quotation.ApplicationResources</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
struts-config.xml:
<!-- message resources -->
<message-resources
parameter="com.erp.quotation.ApplicationResources"
null="false" />
<message-resources
key="userResources"
parameter="com.erp.quotation.user" />
How to make use of more than one resources files
as I want to group them by nature?
The following is my coding.
But I do not know how to specify in coding that I
want that message from that resource file.
web.xml:
<init-param>
<param-name>application</param-name>
<param-value>com.erp.quotation.ApplicationResources</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
struts-config.xml:
<!-- message resources -->
<message-resources
parameter="com.erp.quotation.ApplicationResources"
null="false" />
<message-resources
key="userResources"
parameter="com.erp.quotation.user" />