In the Request handler case I'm always working with input- and outputstreams. A Java writer is a specialization of the outputstream or inputstream (I'm not sure which one right now) so in your Java you have always the right object to send the response data
String value = "Output data";
response.getOutputStream().write(value.getBytes());
response.setStatus(IMxRuntimeResponse.OK);
In default it should be a writer, but isn't always clear in which case it is and when it isn't. The outputstream is the low level option.
Please post the relevant code. You surely not trying to write any results by just the one statement you pasted here. Also, the (1/19) in your error message to me indicates you left a lot out there as well.
I simply do
response.getWriter().append("blahdeeblah");
and never had any problems.
In the Request handler case I'm always working with input- and outputstreams. A Java writer is a specialization of the outputstream or inputstream (I'm not sure which one right now) so in your Java you have always the right object to send the response data
String value = "Output data"; response.getOutputStream().write(value.getBytes()); response.setStatus(IMxRuntimeResponse.OK);
In default it should be a writer, but isn't always clear in which case it is and when it isn't. The outputstream is the low level option.