日期:2014-05-20  浏览次数:20669 次

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