当前位置: 代码迷 >> J2SE >> dwr为什么不能调用方法,该如何解决
  详细解决方案

dwr为什么不能调用方法,该如何解决

热度:267   发布时间:2016-04-24 17:58:52.0
dwr为什么不能调用方法
<dwr>
    <allow>
  <create   creator= "new "   javascript= "problemCount ">
              <param   name= "class "   value= "com.towish.oa.investigate.InvestProblemCount "/>
      <include   method= "getChoices "   />
          </create>
    </allow>
</dwr>

在测试时,不能调用getChoices方法,可能是哪些地方出错了?

------解决方案--------------------
<include method= "getChoices " />
去掉
javascript里直接problemCount.getChoices
  相关解决方案