Catch Spring MVC No Mapping Error?

SimpleMappingExceptionResolver (and the HandlerExceptionResolver framework in general) will only be invoked to handle exceptions generated by the request handler (i.e. Your controllers). If no handler is configured to handle the request, then it won't get that far, and your resolver won't be invoked The simplest thing for you to do is to configure a 404-handling page in your web.

Xml e. G error-page> 404 /error. Html.

SimpleMappingExceptionResolver (and the HandlerExceptionResolver framework in general) will only be invoked to handle exceptions generated by the request handler (i.e. Your controllers). If no handler is configured to handle the request, then it won't get that far, and your resolver won't be invoked.

The simplest thing for you to do is to configure a 404-handling page in your web. Xml, e.g. 404 /error.html.

. You really are the man. Thank you as always... =) – Mark Estrada Sep 28 '10 at 1:12 a common problem with the error handling via web.

Xml is if you use sitemesh your error document isn't decorated. So how could a PageNotFound be handled through the SimpleMappingException Resolver? – Maroe Sep 12 at 20:51.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions