DWR返回对象从服务器谁接受它在javascript代码

DWR return object from server who to accept it in javascript code

本文关键字:javascript 代码 返回 对象 服务器 DWR      更新时间:2023-09-26

我有一个类mymessage,其中有字符串类型的字段,其getter和setter也存在于类中。在mymessage类中,它们是我正在设置的方法中的方法名getdata通过调用字符串的setmethod并返回对象,我可以从getter方法在客户端获取数据。

存在Bean命名约定问题,请使用小大小写而不是大大小写。