防止用户重复提交数据
jsp页面中添加<s:token />
struts的xml文件中添加<interceptor-ref name="token" />
<interceptor-ref name="defaultStack" />
<result name="invalid.token">/tokenexception.jsp</result>
tokenexception.jsp页面中<s:actionerror />
防止用户重复提交数据
jsp页面中添加<s:token />
struts的xml文件中添加<interceptor-ref name="token" />
<interceptor-ref name="defaultStack" />
<result name="invalid.token">/tokenexception.jsp</result>
tokenexception.jsp页面中<s:actionerror />