Intergrate DWR into Your Java Web Application - Configuring the Application (Page 2 of 4 )
To get DWR going with your JavaScript, you have to declare in web.xml a Java servlet that DWR uses. Here is the chunk of code that you have to add to web.xml. If web.xml already includes registered servlets, nest this newly declared servlet in with the existing ones (the same goes for the servlet-mappingelement):