Hi,
I was wondering if there is any way I can map error status codes to
special resources that are able to return a more useful/friendlier
responses?
Basically what I want to achieve is that for any resource returning
say a 404, I could intercept this and provide a better/friendlier
response. A good example would be to provide a better looking 404 page
for text/html requests.
I've read about the ExceptionMapper and this seems to be good for
dealing with exceptions, but not with statuses.
Am I looking in the right direction or are there better ways to deal with this?
many thanks in advance,
:- alex