This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
How to use Spring / DWR Revers Ajax functionality to display dynamic changes to table data
DWR Undefined
How to Call DWR in servlet
DWR; javascript files not found
DWR error