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.


Popular posts from this blog

php - How should I create my API for mobile applications (Needs Authentication) -

5 Reasons to Blog Anonymously (and 5 Reasons Not To)

Google AdWords and AdSense - A Dynamic Small Business Marketing Duo