|
From: Seth L. <set...@gm...> - 2005-11-15 22:33:35
|
> If so, what would be the correct way to handle exceptions issued by tagli= bs, > using spring MVC? You're right, in that if the exception is thrown from the view layer, the handler interceptors won't be invoked. Those interceptors only apply to the handlers (controllers). If the exception is thrown from a view, you can either use Spring's exception resolving, or the web.xml's exception mapping. By this point, the handler is out of the picture. You could wrap the whole thing in a filter, which would be able to catch the exceptions thrown from a view. Seth |