users@jersey.java.net

303: Browser redirection problem

From: Monika Solanki <ms491_at_leicester.ac.uk>
Date: Wed, 02 Jun 2010 10:52:57 +0100

My REST service is supposed to redirect to another URI but I seem to have a problem with this.

 URI seeOtherUri = ...
 return Response.satus(303).location(seeOtherUri).build():

When I check the response status at the client end, it turns out to be a
404. Apparently the client (browser) is attaching the seeOtherURI to the base URI
of the service. How do I fix this at the client end?

Monika