java - Struts2 file upload interceptor get duplicate action errors -
i using struts2 , ejb, when upload file larger max size, action same duplicate action error, why?
public void validateuploaddoc() { if(this.hasactionerrors()) return; //actionerror: // [request exceeded allowed size limit! max size allowed is: // 10,485,760 request was: 36,830,776!, // request exceeded allowed size limit! max size allowed is: 10,485,760 // butrequest was: 36,830,776!] }
i debug validation, find 2 same action errors, other setting in file upload ok, can tell me why? want show 1 action error in jsp.