#{extends 'main.html' /} #{set title:'Basic Chat room' /} #{gwt2.module 'websocket'/}

GWT, using websocket — You are now chatting as ${user} Leave the chat room

tested on Chrome and Chromium. Will not work on Firefox 4 or others browsers which not support websocket or disable it.