struts2-core.jar包中的
struts-messages.properties文件中有定义:
struts.messages.invalid.token=The form has already been processed or no token was supplied, please try again.
你可以在自己的项目根目录里建立一个message_zh_CN.properties文件
文件内容是:
struts.messages.invalid.token=需要显示的中文的Unicode 可以用java的native,获得中文的unicode 获取unicode的方法:
用cmd,在jdk的bin目录里:native2ascii回车 然后输入需要的中文再回车