读书人

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

发布时间: 2012-01-10 21:26:51 作者: rapoo

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

读书人网 >J2SE开发

热点推荐