JAX-RS / Jersey how to customize error handling?
I’m learning JAX-RS (aka, JSR-311) using Jersey. I’ve successfuly created a Root Resource and am playing around with parameters: @Path(“/hello”) public class HelloWorldResource { @GET @Produces(“text/html”) public String get( @QueryParam(“name”) String name, @QueryParam(“birthDate”) Date birthDate) { // Return a greeting with the name and age } } This works great, and handles any format in … Read more