Struts 避免重复提交

xiaoxiao2024-10-29  13

    将

return mapping.findForward(page);

 

替换为: ActionForward forward = mapping.findForward(page); String path = forward.getPath(); return new ActionForward(forward.getName(),path,true);

 

相关资源:struts2利用token防止表单重复提交(源代码)
转载请注明原文地址: https://www.6miu.com/read-5018725.html

最新回复(0)