<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[fhd001的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/fhd001</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; fhd001]]></copyright><item><title><![CDATA[DWR高级主题之反向Ajax(DWR3的轮询模式演示1)]]></title><link>https://blog.csdn.net/fhd001/article/details/7099225</link><guid>https://blog.csdn.net/fhd001/article/details/7099225</guid><author>fhd001</author><pubDate>Sat, 24 Dec 2011 10:38:57 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(DWR3的轮询模式演示1)
----------
web.xml

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(DWR3的comat模式演示1)]]></title><link>https://blog.csdn.net/fhd001/article/details/7099209</link><guid>https://blog.csdn.net/fhd001/article/details/7099209</guid><author>fhd001</author><pubDate>Sat, 24 Dec 2011 10:29:21 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(DWR3的comat模式演示1)
----------
web.xml

<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/x]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(DWR3介绍)]]></title><link>https://blog.csdn.net/fhd001/article/details/7098089</link><guid>https://blog.csdn.net/fhd001/article/details/7098089</guid><author>fhd001</author><pubDate>Fri, 23 Dec 2011 14:17:54 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(DWR3介绍)
----------
我们在前面使用的DWR主要是基于DWR2.X版本的，这里我们针对DWR3进行介绍,介绍一些提示或技巧。
1. ScriptSession生命周期(创建ScriptSession以及让ScriptSession失效)
当/dwr/engine.js被包含进页面时ScriptSessions就创建了。默认情况下，ScriptS]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成(使用SpringMVC时dwr:controller标签说明)]]></title><link>https://blog.csdn.net/fhd001/article/details/7095882</link><guid>https://blog.csdn.net/fhd001/article/details/7095882</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 16:26:42 +0800</pubDate><description><![CDATA[DWR高级主题之DWR与spring集成(使用SpringMVC时dwr:controller标签说明)
----------
添加dwr的dwr:controller标签，debug为true时，可以访问/dwr/index.html的测试页面。还可以可以设置一些参数的值,如例：
  
      
      
 这里的配置与单独使用dwr时在web.xml中配置DwrServlet中的]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成(不使用springMVC,但使用注解的实例)]]></title><link>https://blog.csdn.net/fhd001/article/details/7095563</link><guid>https://blog.csdn.net/fhd001/article/details/7095563</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 15:27:10 +0800</pubDate><description><![CDATA[DWR高级主题之DWR与spring集成(不使用springMVC,但使用注解的实例)
----------
web.xml

<!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成(不使用springMVC,不使用注解的实例)]]></title><link>https://blog.csdn.net/fhd001/article/details/7095520</link><guid>https://blog.csdn.net/fhd001/article/details/7095520</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 15:14:48 +0800</pubDate><description><![CDATA[DWR高级主题之DWR与spring集成(不使用springMVC,不使用注解的实例)
----------
web.xml

<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http:/]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成(使用springMVC,并使用注解的实例)]]></title><link>https://blog.csdn.net/fhd001/article/details/7095469</link><guid>https://blog.csdn.net/fhd001/article/details/7095469</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 15:06:01 +0800</pubDate><description><![CDATA[DWR高级主题之DWR与spring集成(使用springMVC,并使用注解的实例)
----------
web.xml


<!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成(使用springMVC,非注解的实例)]]></title><link>https://blog.csdn.net/fhd001/article/details/7095413</link><guid>https://blog.csdn.net/fhd001/article/details/7095413</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 14:55:55 +0800</pubDate><description><![CDATA[DWR高级主题之DWR与spring集成(使用springMVC,非注解的实例)
-----------
web.xml:


<!DOCTYPE web-app PUBLIC
    "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR与spring集成]]></title><link>https://blog.csdn.net/fhd001/article/details/7095310</link><guid>https://blog.csdn.net/fhd001/article/details/7095310</guid><author>fhd001</author><pubDate>Thu, 22 Dec 2011 14:32:54 +0800</pubDate><description><![CDATA[WR高级主题之DWR与spring集成
---------
第一步：让DWR可以访问Spring的上下文
为了整合DWR与spring，DWR需要访问Spring的上下文。这里有两个选择：
1. 使用Spring MVC
2. 使用DWRSpringServlet
使用Spring MVC
如果使用Spring MVC，那么我们的web.xml配置就像这样：


  spring]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(comet模式实例--DWR2.X)]]></title><link>https://blog.csdn.net/fhd001/article/details/7092248</link><guid>https://blog.csdn.net/fhd001/article/details/7092248</guid><author>fhd001</author><pubDate>Wed, 21 Dec 2011 17:57:06 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(comet模式实例--DWR2.X)
----------
我们用maven进行构建项目
pom.xml


<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(轮询模式实例--DWR2.X)]]></title><link>https://blog.csdn.net/fhd001/article/details/7092179</link><guid>https://blog.csdn.net/fhd001/article/details/7092179</guid><author>fhd001</author><pubDate>Wed, 21 Dec 2011 17:34:11 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(轮询模式实例--DWR2.X)
----------
用maven进行构建： 
pom.xml

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http:]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(piggybacking模式--DWR2.X)]]></title><link>https://blog.csdn.net/fhd001/article/details/7091309</link><guid>https://blog.csdn.net/fhd001/article/details/7091309</guid><author>fhd001</author><pubDate>Wed, 21 Dec 2011 14:38:08 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(piggybacking模式--DWR2.X)
----------
这里为了启用piggybacking技术，我们只要在前两篇blog(轮询模式与comet模式)的web.xml的DWRServlet配置中，删除那些初始化参数即可，如：


		dwr-invoker
		org.directwebremoting.servlet.DwrServlet]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(Comet模式--DWR2.X)]]></title><link>https://blog.csdn.net/fhd001/article/details/7091015</link><guid>https://blog.csdn.net/fhd001/article/details/7091015</guid><author>fhd001</author><pubDate>Wed, 21 Dec 2011 13:44:57 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(Comet模式--DWR2.X)
----------
如果不希望使用轮询模式，那么可以非常容易地切换为Comet模式，我们在轮询模式上修改部分配置即可。使用Comet模式时，我们只需要在web.xml中的DwrServlet配置中加上如下初始化参数，其它配置与轮询模式一样(面面上的设置与服务器端的代码)如例：


    activeReverseAjaxE]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax(轮询模式--DWR2.X)]]></title><link>https://blog.csdn.net/fhd001/article/details/7090977</link><guid>https://blog.csdn.net/fhd001/article/details/7090977</guid><author>fhd001</author><pubDate>Wed, 21 Dec 2011 13:38:31 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax(轮询模式--DWR2.X)
----------
使用DWR实现反向Ajax轮询模式的第一步是，使用一些新的配置元素。首先，在web.xml文件中，需要添加DWRServlet的一些新的初始化参数：


    activeReverseAjaxEnabled
    true


    org.directwebremoting.extend.Server]]></description><category></category></item><item><title><![CDATA[DWR高级主题之反向Ajax]]></title><link>https://blog.csdn.net/fhd001/article/details/7089024</link><guid>https://blog.csdn.net/fhd001/article/details/7089024</guid><author>fhd001</author><pubDate>Tue, 20 Dec 2011 19:37:49 +0800</pubDate><description><![CDATA[DWR高级主题之反向Ajax
----------
反向Ajax的基本概念是，客户端不必主动从服务器获取信息，服务器会把相关信息直接推送到客户端。这样做的目的是解决Ajax“传统”web模型所带来的一个限制：实时信息很难从技术上解决。原因是，客户端必须联系服务器，主动询问是否存在变更，如果有变更就会更新页面(或者页面的一部分),虽然可以非常快速完成这个操作，让人感觉好像是实时的，但是实际上不是]]></description><category></category></item><item><title><![CDATA[DWR高级主题之DWR安全机制]]></title><link>https://blog.csdn.net/fhd001/article/details/7086984</link><guid>https://blog.csdn.net/fhd001/article/details/7086984</guid><author>fhd001</author><pubDate>Tue, 20 Dec 2011 11:21:44 +0800</pubDate><description><![CDATA[DWR高级主题之DWR安全机制
----------
很多其他Ajax工具对安全性考虑不够，让你直面安全威胁。DWR提供一些安全机制，你也许会发现它非常适合自己的需求。DWR使用多层安全保障方法，但是，至少有一个机制必须始终启用。

1.默认拒绝
无须做任何设置，DWR会自动采用"默认拒绝"方法。这意味着，在默认情况下，DWR不允许任何类被远程访问。回想一下希望远程访问的每个类，必须在配]]></description><category></category></item><item><title><![CDATA[DWR之其他概念：engine.js与util.js]]></title><link>https://blog.csdn.net/fhd001/article/details/7085301</link><guid>https://blog.csdn.net/fhd001/article/details/7085301</guid><author>fhd001</author><pubDate>Mon, 19 Dec 2011 19:15:44 +0800</pubDate><description><![CDATA[DWR之其他概念：engine.js文件
----------
在范例程序中，我们引入了文件engine.js。该文件是DWR客户端的核心。这是一段javascript代码，用于把来自于动态生成的代理存根的调用组装为服务器上真正的对象。engine.js会输出一个DWREngine对象。该对象有很多选项，可以控制DWR的工作机制。如：
DWREngine的选项




选项
说明]]></description><category></category></item><item><title><![CDATA[DWR之与服务器端的DWR交互]]></title><link>https://blog.csdn.net/fhd001/article/details/7082624</link><guid>https://blog.csdn.net/fhd001/article/details/7082624</guid><author>fhd001</author><pubDate>Sun, 18 Dec 2011 22:44:38 +0800</pubDate><description><![CDATA[DWR之与服务器端的DWR交互
----------
当编写服务器端代码时， 通常不会意识到该代码会被DWR调用，这一般不会出问题，但是偶尔也会。应注意，DWR提供了一些便捷工具，以便与服务器端代码交互。
在DWR服务器端编码时，首先应考虑两个类：WebContext和WebContextFactory,它们按顺序使用，类似于下面的方式：
org.directwebremoting.Web]]></description><category></category></item><item><title><![CDATA[DWR之与客户端的DWR交互]]></title><link>https://blog.csdn.net/fhd001/article/details/7082174</link><guid>https://blog.csdn.net/fhd001/article/details/7082174</guid><author>fhd001</author><pubDate>Sun, 18 Dec 2011 19:59:01 +0800</pubDate><description><![CDATA[DWR之与客户端的DWR交互
----------
1.基本的调用语法
如例：

MathDelegate.add(a,b,doMathCallback);
var doMathCallback = function(answer){
    document.getElementById("resultDiv").innerHTML = "" + 
        "Result: "]]></description><category></category></item><item><title><![CDATA[DWR之DWR的dwr.xml配置]]></title><link>https://blog.csdn.net/fhd001/article/details/7081832</link><guid>https://blog.csdn.net/fhd001/article/details/7081832</guid><author>fhd001</author><pubDate>Sun, 18 Dec 2011 16:47:39 +0800</pubDate><description><![CDATA[DWR之DWR的dwr.xml配置
----------
下面，我们讨论dwr.xml文件中的DWR配置事项。实际上，DWR提供了两种配置方法：Java5(或更高版本)注解和dwr.xml文件。两者完全可以互相替代，并且相互补充。简要说明一下dwr.xml文件的基本结构，如例，dwr.xml文件：

 
<!DOCTYPE dwr PUBLIC
    "-//GetAhead Limit]]></description><category></category></item></channel></rss>