Ajax – asynchronous communication between server and webbowser


The server is monitoring the events in client web browser…If any events occured in client web browser,the server should be notified about that event and server should respond to that event (like invoking another java class in the server itself)…please help me with the code

Best Solution

Construct an XMLHttpRequest for a URL that invokes the corresponding method on the appropriate Java class.