It seems a bit weird to send <script> tags to the client and to hope for the page to be updated. I've never looked into that, but did you try to search about Pushlets ?
Joined: Jul 20, 2006
It works only if page has only that one form in BODY tag. If I put that form in TABLE it won't work. (???) I think that problem is in out.flush(). I don't know how does it work. When I should call this method ?