DWR(Direct Web Remoting)
DWR is a Java library that enables Java on the server and JavaScript in a browser to interact and call each other as simply as possible.
Dwr能让在服务器端的java代码和浏览器客户端的javascript代码尽可能简单的相互调用。
DWR is Easy Ajax for Java!
官网:http://directwebremoting.org/dwr/index.html
一、 环境搭建
1. 新建web工程。
2. 从官网下载dwr3.0rc2,也是当前最新版本,并引入类路径。
3. dwr依赖于logging.jar,也需要引入类路径下面。
4. 配置web.xml如下:
@H_403_50@ @H_403_50@