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

comet4j 一个容易的实例

2013-12-17 
comet4j 一个简单的实例listener????????????????descriptionComet4J容器侦听/description?????????

comet4j 一个简单的实例

<listener>????????????????<description>Comet4J容器侦听</description>????????????????<listener-class>org.comet4j.core.CometAppListener</listener-class>????????</listener>????????<servlet>????????????????<description>Comet连接[默认:org.comet4j.core.CometServlet]</description>????????????????<display-name>CometServlet</display-name>????????????????<servlet-name>CometServlet</servlet-name>????????????????<servlet-class>org.comet4j.core.CometServlet</servlet-class>????????</servlet>????????<servlet-mapping>????????????????<servlet-name>CometServlet</servlet-name>????????????????<url-pattern>/conn</url-pattern>????????</servlet-mapping><listener>??<description>HelloWorld</description>??<listener-class>org.comet4j.demo.helloworld.HelloWorld</listener-class></listener>

<!--EndFragment-->

热点排行