> Maybe I'm blind, but I don't see how to set a header in a response. > > I need to set the Location header on a response to a POST, but I can't > seem to find the right place to do that. What am I missing?
response.setStatus(Status.SUCCESS_CREATED); response.setRedirectRef(request.getRootRef() + <uri>); -Vincent.