out.write(new String("HTTP/1.1 200 OK\r\n").getBytes()); 
    out.write(new String("Cache-Control: private\r\n").getBytes()); 
    out.write(new String("Content-Length: "+msg.getBytes().length+"\r\n").getBytes()); 
    out.write(new String("Content-Type: text/html; charset=UTF-8\r\n\r\n").getBytes());

Posted by 타다키치

댓글을 달아 주세요