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 the server internals, they are only HTML formatted and making them a poor choice if a RESTful web service is deployed … read on »
All posts tagged as “Java SpringMVC REST Error Handling”
RESTful error handling with Tomcat and SpringMVC 3.x
Aug. 4th 2010 in java, software, spring — View Comments
About
My name is Florin Duroiu, I’m a software engineer in Berlin, Germany. This blog is about my day to day encounters with the challenges in software development and life at large.

Follow me on Twitter

Recent Comments
- Is it possible to get a list of nearby places while developing for ios devices? - Quora on A Comparison of Places APIs
- Pkopac on Upgrading to Spring 3.0
- host gis on Selecting location data from a spatial database
- Anonymous on Building a content aggregation service with node.js
- Mark Hanigen on Building a content aggregation service with node.js
-
Recent Posts
Tags
Agile AppEngine archeology bash cloud deployment computing ddd discoveries DSL EclipseLink genesis gis Google google maps hibernate hosting internet java Java AppEngine javascript JEE jpa JPA 2.0 mac mac dreamscometrue mapping mashups mobile movies opinions overlay productivity projects REST Ruby software spatial DB spring Spring Security TDD testing tools twitter weather web