in my application (using spring)
I am trying to call a method from a view using spring exposingBean. and when I try to call a method from a view, it throws an error. I am trying to catch a HandlerExceptionResolver but no luck, I think the HandlerExceptionResolver handler could not be handled because the exception was not passed to the controller.
so I will try another way to redirect the request when an exception is thrown. and I think the aspect has the opportunity to do it. Is it possible to redirect a request when an exception is thrown from an aspect?
, HandlerExceptionResolver , . .
HandlerExceptionResolver
- HandlerInterceptor afterCompletion, , . , , .
HandlerInterceptor
afterCompletion
, . .
, - bean JSP. , , , . , , . , , , , .
, , , . HTTP- , . , - "".
Source: https://habr.com/ru/post/1779816/More articles:Как получить доступ к подзонам во вложенных UIScrollViews - cocoa-touchSubdomain for SSL on Heroku - ruby-on-railsMaximizing the Probability of Randomized Algorithms - algorithmPuzzle with bubbles - cStoring CSV data in a Ruby hash - ruby | fooobar.comIntercepting Perl through a hash causes a strange value - perlArrayIndexOutOfBoundsException when repeating all elements of an array - javaSWT: draw “icons” in the cells of a table or tree - javaHow to get the best result in WPF when many user interface controls are displayed? - performanceHow to capture custom text event in Firefox - javascriptAll Articles