A5下载程序插件

分类分类

WebIM-for-Struts2

WebIM-for-Struts2

大小:6.91 MB更新:2014/10/17

类别:其它插件系统:Win2003,WinXP,Win2000,Win9X

立即下载

====================
开发说明(README)

This is a webim plugin demo for struts2 web application.

Demo
====

Import 'Webim' Project to Eclipse EE.

Create Tomcat Server and Run

Access: http://localhost:8080/Webim/

Developer Guide
===============

Create Database
---------------

import install.sql

Coding WebimPlugin.java
-----------------------

implements these methods:

```java

public WebimEndpoint endpoint();

public List<WebimEndpoint> buddies(String uid);

List<WebimEndpoint> buddiesByIds(String uid, String[] ids);

public WebimRoom findRoom(String roomId);

public List<WebimRoom> rooms(String uid);

public List<WebimRoom> roomsByIds(String uid, String[] ids);

public List<WebimMember> members(String roomId);

public List<WebimNotification> notifications(String uid);

```

Coding WebimModel.java
-----------------------

Histories

Settings


Coding Config
-------------

You should change the WebimConfig.java, and load configurations from database or xml.

Webim Javascript
-----------------------

Insert Javascript code below to web pages that need to display Webim:

```javascript

<script type="text/javascript" src="/Webim/boot.do"></script>

```
 

精品推荐
开发者应用
同类推荐
相关文章
相关下载
说两句网友评论
    我要跟贴
    取消
    推荐专题