== WebSocket.OPEN) {
            socket.send(message);
        } else {
            alert("连接没有开启.");
        }
    }
</script>
<form onsubmit="return false;">
  <h3>Flink Analysis WebSocket结果：</h3>
  <textarea id="responseText" style="width: 1400px; height: 600px;"></textarea>
  <br>
  <input type="text" name="message" style="width: 300px" value="hello flink">
  <input type="button" value="发送消息" onclick="send(this.form.message.value)">
  <input type="button" onclick="javascript:do