多资源绑定如何在Action中拿到对应的Message
struts-config.xml定义如下:
<message-resources
key= "ERROR_RESOURCE_KEY "
parameter= "ApplicationErrorResources " />
<message-resources
key= "LABEL_RESOURCE_KEY "
parameter= "ApplicationLabelResources " />
ApplicatonErrorResources.properties:
Error.wrongpassword=Wrong Password
请问在Action中如何找到ApplicationErrorResources.properties中定义的这条Message?
ActionMessage( "error.wrongpassword ")是找不到的
------解决方案--------------------大小写敏感的吧?