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

node.js - How do I prevent MongoDB replica set from querying the primary? -

c# - Randomly pick a specific int from a 2D Array -

php - Angularjs http.delete is not working after deploying project on server -