DWR反转Ajax

参考文章: http://www.examda.com/java/zhuangye/20070731/142542597-5.html 
DwrServlet的web.xml配置:

  dwr-invoker
 
    org.directwebremoteing.servlet.DwrServlet
 

 
    activeReverseAjaxEnabled
    true
 

 
    initApplicationScopeCreatorsAtStartup
    true
 

 

window.onload = function() {
  dwr.engine.setActiveReverseAjax(true);
}

你可能感兴趣的:(DWR反转Ajax)