Add RedirectAttributesMethodArgumentResolver to the default argument resolvers in ExceptionHandlerExceptionResolver [SPR-14651] #19217
Comments
Juergen Hoeller commented Sounds worth doing for 4.3.x still, and easy enough... |
Brian Clozel commented This sounds indeed reasonable, but last time I tried I saw that:
I recall talking about this with Rossen Stoyanchev, but I don't remember the outcome of our discussion. Rossen, any opinion about this? |
Rossen Stoyanchev commented It requires a Note also that besides the resolver there is something to be done also after as well. See RequestMappingHandlerAdapter#getModelAndView where the flash map is updated. |
Brian Clozel opened SPR-14651 and commented
Without an instance of a
RedirectAttributesMethodArgumentResolver
configured in the list of default argument resolvers inExceptionHandlerExceptionResolver
, the following exception handling method signature is not possible:Reference URL: http://stackoverflow.com/questions/14961869/performing-a-redirect-from-a-spring-mvc-exceptionhandler-method/
Issue Links:
@Payload
annotated parametersThe text was updated successfully, but these errors were encountered: