<action name="manual_order" class="materialTypeMasterAction" method="enquiry_process">
<interceptor-ref name="token"></interceptor-ref>
<interceptor-ref name="defaultStack"></interceptor-ref>
<result name="success">/pages/procurement/EnquiryDetails.jsp</result>
<result name="invalid.token">/pages/procurement/EnquiryDetails.jsp</result>
</action>
我想更改此invalid.token
错误消息。我在哪里可以更改该消息。
答案 0 :(得分:0)
invalid.token
的消息资源键是
struts.messages.invalid.token=The form has already been processed or no token was supplied, please try again.
struts.internal.invalid.token=Form token {0} does not match the session token {1}.
您可以使用此消息键更改invalid.token
消息。
答案 1 :(得分:0)
您可以在struts here中看到struts.messages
的列表。只修改struts-messages.properties
。
struts.messages.invalid.token=The form has already been processed or no token was supplied, please try again.
struts.internal.invalid.token=Form token {0} does not match the session token {1}.