最近需要从1.X 升级到3,很多页面失效,查找错误原因是DWRUtils找不到,查找DWR官方升级文档后发现是 DWREngine DWRUtil 变更造成,修改后正常。
Upgrading from DWR version 2.0 to DWR version 3.0
DWR 3.0 has not been officially released yet. This pages tracks the changes that we see as being required when the final release comes.
If you are upgrading from a version prior to 2.0, see the full upgrade notes.
These are the changes that you must make to upgrade from version 2.0 to version 3.0:
For DWR 1.x the Javascript libraries had the prefixes DWREngine and DWRUtil. These were deprecated in version 2.0 in favor of dwr.engine and dwr.util. In version 3.0, the prefixes DWREngine and DWRUtil have been removed. The best way to upgrade is to change all code to use the new method. Alternatively you can use the two-liner:
DWREngine = dwr.engine; DWRUtil = dwr.util[/size]; to re-enable the old behavior.
DWR 3.0 RC2 requires that engine.js is included before the DWR interface JavaScript files.
DWR 3.0 RC2 - If you are using Jetty 6 with reverse AJAX you will need to either upgrade to Jetty 7+ or follow the directions here: http://www.butterdev.com/dwr/2010/01/dwr-3-x-and-jetty-continuations-on-jetty-6-x/. Due to changes in the Jetty Continuation API.
DOMConverters - If you are using a DOMConverter (DOM4JConverter.java, DOMConverter.java, JDOMConverter.java or XOMConverter.java) it will now return either an Element or a Document based on the type of data. Prior to 3.x a DOMConverter always returned a Document.
Spring Schema Change - Creator configuration is no longer allowed inside the dwr:configuration element. Please see this discussion on the mailing list for more information.
http://directwebremoting.org/dwr/downloads/upgrading/dwr30.html
分享到:
相关推荐
DWR的各种版本Jar文件——dwr2.0.5.jar、dwr2.0.6.jar、dwr3.rc1.jar
dwr包.rar dwr.jar engine.js util.js dwr-noncla.jar readme.txt JAR File: dwr.jar (1.08Mb) To DWR enable your web-app WAR File: dwr.war (4.62Mb) Demos/Examples of what DWR can do Sources: dwr-...
dwr3.x的实例,其中有反转ajax,轮询,文件上传,下载,时钟,编辑,查询等实例。
dwr20.dtd
dwr20.dtd约束文件。 <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://www.getahead.ltd.uk/dwr/dwr20.dtd" >
dwr 2.jar dwr 2.jar
Struts1.x Spring2.x Hibernate3.x DWR2.x整合工具文档v1.00 方便学生使用的工具文档 里面有比较全的经典配置文件示例 更多请见我博客 http://blog.csdn.net/shadowkiss
DWR2.0 相关配置文件 DWR2.jar + DWR.xml + DWR2.0.dtd + Web.xml
dwr 1 jar dwr 1 jar
dwr3.0.jar
DWR+jquery2.x+easyUI1.3.x开发富客户端应用
最新dwr3.0的包,有需要的朋友就下载吧
Struts1.3+Spring3.0+Hibernate3.3+DWR2.X框架集成文档v1.4.pdf 包括事务处理配置,个人整理,仅供学习,请务拍砖。呵呵~~
dwr30.dtd导入myeclipse后补全就出来了
DWR3.0.jar、DWR的实例war和DWR2.0中文说明文档
dwr3.0.0.116源码 part4
1、 导入dwr.jar包 2、 在web.xml中配置dwr,如下: <!-- 配置DWR --> <servlet-name>dwr-invoker org.directwebremoting.servlet.DwrServlet <init-param> <param-name>debug</param-name> ...
取得dwr的dwr.jar包和其他dwr所需的其他jar包 web.xml dwr.xml 任何一个dwr.xml的文件都需要包含DWR DOCTYPE的声明行,。。 有几个术语有必要理解,参数叫做converted,远程Bean叫做created.如果远程Bean A有个方法A....
JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源代码 dwr.jar 2.0JavaEE源...
dwr3.0.0.116源码 part3