RESTful error handling with Tomcat and SpringMVC 3.x
Updated: 2010-10-31 14:30:43
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 [...]