找回密码
 立即注册
theJSON服务器server | android开发 2022-10-31 45 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
首先在服务器端,我选用的是SSH框架,struts2集合了JSON插件,服务器和客户端的信息交互选用的JSON来传输,因为在服务器端用了Struts2,所以我就用装了一个JSON插件。这样,很轻易的就把服务器端的信息用JSON的方式发送到了手机端。以下是代码:本资料共包括以下附件:

(First of all, on the server side, I choose the SSH framework. Struts2 collects JSON plug-ins. The information interaction between the server and the client uses JSON for transmission. Because Struts2 is used on the server side, I use a JSON plug-in. In this way, it is easy to send the server information to the mobile phone in JSON mode. The following is the code: This document includes the following attachments:)

[下载]13041814876.rar




上一篇:[Java4 Android]53_综合练习(四)
下一篇:7个Android应用程序源代码