MaxUploadSizeExceededException doesn't invoke the exception handling method in Spring

前端 未结 7 1955
不知归路
不知归路 2020-12-09 19:29

I\'m using Spring 3.2.0. According to this answer, I have the same method in my annotated controller which implements the HandlerExceptionResolver interface suc

7条回答
  •  囚心锁ツ
    2020-12-09 19:31

    You can config the CommonsMultipartResolver's resolveLazily property to true like this:

    
    
    
    

提交回复
热议问题