<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://getahead.org/dwr/dwr20.dtd"> <dwr> <allow> <create creator="spring" javascript="XXManager"> <!-- 1. 设置name="beanName" 2. XXManager是spring管理的bean ,不需要控制类action直接调用业务类--> <param name="beanName" value="XXManager"/> </create> </allow> </dwr>