天天看點

openfire插件開發環境

建立java工程

SamplePlugin:

web-custom.xml 為空

plugin.xml

build.properties:

build.xml

 增加servlet

在web-custom.xml中增加:

打包釋出後: 可以通路

( 也可以通路)

增加jsp

 在 web目錄下增加sample-service.jsp

在plugin.xml中增加:

打包釋出運作效果: