The problem is in line 132 of
com.sun.jersey.spi.container.ContainerResponse:
Jersey version 0.8 —-> o = responseWriter.writeStatusAndHeaders(-1,
ContainerResponse.this);
Jersey version 0.9 —-> o = responseWriter.writeStatusAndHeaders(size,
ContainerResponse.this);
I reverted that line back to what it was in 0.8 and it works.
-Reece
>>> "Reece Garrett" <RGARRET_at_co.pierce.wa.us> 8/22/2008 1:21 PM >>>
Hello,
I am using Jetty web server and just upgraded to jersey 0.9. I am using
my own json entity provider which was working with jersey 0.8 but now
that I've upgraded I get no response body. I get the right response code
but not my entity representation. I've debugged and verified that when I
call outputStream.write(representation.getBytes()); that the
representation is correct but it just doesn't make it into the response.
I am using the spring-servlet. Any ideas?
-Reece
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
For additional commands, e-mail: users-help_at_jersey.dev.java.net