fengtotoer的博客
fengtotoer · 共 1 篇文章
关于cometd的一些使用经验
一:js端使用方式 =================================================== 第一步 :初始化cometd配置, $.cometd.configure({ url: cometdURL, logLevel: 'debug' }); 有两种方式: 一:通过 URL string cometd.configure('http://localhost:8080/cometd'); 二:通过配置对象的方式: cometd.configure({ url: 'http://localhost:8080/cometd' }); 通过第二种方式配置cometd…
2011-11-01 13:54 · 评论(0)