首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2SE开发 >

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

2012-01-10 
dwr为什么不能调用方法dwrallowcreatecreator new javascript problemCount paramname cla

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

热点排行