我有以下代码片段,其中key在tiles-def.xml中定义。我想知道密钥是如何正确映射到tiles-def.xml而不是从application-resources.properties中获取密钥的资源
的struts-config.xml
<action
path="/POShowSearch"
type="com.inx.omx.lc.web.actions.POShowSearchAction"
scope="session"
name="ViewSearchFormPO"
input="crp.lcpo.view">
<forward
name="Success"
path="crp.lcpo.view.result" redirect="false" />
</action>
瓦片-def.xml
<definition name="crp.lcpo.view" extends="crp.main" >
<put name="body" value="/po/poSearch.jsp" />
</definition>
<definition name="crp.lcpo.view.result" extends="crp.main" >
<put name="body" value="/po/poViewList.jsp" />
</definition>