RESTful error handling with Tomcat and SpringMVC 3.x
Updated: 2011-04-30 18:04:03
Handling errors in a REST way is seemingly simple enough: upon requesting a resource, when an error occurs, a proper status code and a body that contains a parseable message and using the content-type of the request should be returned. The default error pages in Tomcat are ugly. Not only they expose too much of [...]