is.write(data);
is.write(data.getBytes(encoding));
    private void writeResponse(HttpServletResponse response, byte[] data)    throws IOException {        OutputStream is = response.getOutputStream();        is.write(data);    }