spring调整dwr

spring整合dwr??? !-- DWR 配置结束 --? ???????? ???? !-- spring bean配置 --? ???? bean iduser

spring整合dwr

??? <!-- DWR 配置结束 -->?

????????

???? <!-- spring bean配置 -->?

???? <bean id="userService"

在<dwr:configuration></dwr:configuration>和<dwr:remote javascript="myCode"></dwr:remote> 处会有错误的提示。将

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd? 改为

xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd,错误就消失了? 。

步骤五:

在需要AJAX的JSP页面中添加AJAX相关:

dwr/engine.js、dwr/util.js、dwr/interface/myCode.js

接下来的编码工作不用我说了!

DWR大大简化了AJAX的编码,很实用的东西啊!

?