用struts2标签提取properties资料里的值

用struts2标签提取properties文件里的值在struts.xml里constant namestruts.custom.i18n.resources va

用struts2标签提取properties文件里的值
在struts.xml里<constant name="struts.custom.i18n.resources" value="test"/> 写上这个,value是指的你的properties文件的名字,在页面上<s:property value="%{getText('test')}"/>这样提取就可以了,'test'是指的你在properties里的key值