This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes EJB and other Java EE Technologies and the fly likes why dwr is asynchronous ?what's wrong Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "why dwr is asynchronous ?what Watch "why dwr is asynchronous ?what New topic
Author

why dwr is asynchronous ?what's wrong

shaoyi he
Greenhorn

Joined: Apr 11, 2011
Posts: 4
i open 2 web pages.(http://localhost/chat/test.jsp)
i send message through the first page,but the second cannot receive it immediately.
only when i send message through the second one ,i can receive the message the first page has sended.
how can i do

test.jsp



chat.js



Chat.java

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: why dwr is asynchronous ?what's wrong