登录
首页 » java » ssh java源码

ssh java源码

于 2022-04-30 发布 文件大小:526.27 kB
0 23
下载积分: 2 下载次数: 1

代码说明:

包含一个SSH框架实例和一个获取该服务器返回json数据的android app实例。 使用方法, 1.SHH是SSH框架的java wab工程,里面定义了一个action,启动apach-tomcat服务器后可在浏览器输入“localhost:8080/SSH/userjson”访问该action并得到返回的json数据{"description":"hahaha& quot;,"hi":null,"jsonResult":{"users":[{"ID":"xiangxiang"}]},"status":0}, 或输入“localhost:8080/SSH/userjson?hello=22222”得到返回json数据{"description":"hahaha","hi":"22222","jsonResult":{"users":[{"ID":"xiangxiang"}]},"status":0} 2.以上完成后证明服务器什么的都没问题了, 那么直接运行运行APP就可以, 保证:APP和服务器在同一局域网下进行演示(或者你有公网ip也可以) App中访问的ip地址应为你的服务器地址,在同一局域网下,我使用ipconfig命令得到电脑的ip是192.168.1.104,那么我就在App工程中的C.java文件中把IP设置为这个就行了。 APP把数据以hashmap形式传给服务器,服务器在对应action中取得对应的值,进行处理并返回给app对应的json字符串。

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • NativeLlcpSocket
    LlcpClientSocket represents a LLCP Connection-Oriented client to be used in a connection-oriented communication.
    2014-02-19 11:53:56下载
    积分:1
  • Android北京公交查询源代码(离线)
    Android北京公交查询源代码(离线),可以实现站点查询,还可以实现公交车的线路查询,在手机上运行,速度很快
    2022-07-07 17:08:21下载
    积分:1
  • jnca-beta-1.0
    接收网络设备上NetFlow工具导出的NetFlow数据,并直接导入mysql数据,而且可以对存入的数据进行简单的分析(Network device to receive NetFlow tool for NetFlow export data and data directly into mysql, but can be deposited in the data analysis of simple)
    2009-02-10 23:36:04下载
    积分:1
  • Spring-Security-Demo
    Spring Security 的演示Demo,通过mysql数据库配置用户、角色、资源等,利用mybatis实现持久化。数据库脚本在项目/WebRoot/sql 目录下(Spring Security Demo Demo, configure users, roles, and resources through the mysql database using mybatis for persistence. Database scripts in the project/WebRoot/sql directory)
    2013-12-25 10:04:39下载
    积分:1
  • a calculation of the ratio of the circumference multithreading FOSS
    一个计算圆周率的多线程源码-a calculation of the ratio of the circumference multithreading FOSS
    2022-08-31 12:55:02下载
    积分:1
  • SMSSender
    可以根据联系人类型进行选择,比如是SIM卡里的,还是OUTLOOK里的。(Can choose the type of contact, for example, is the SIM card, or OUTLOOK inside.)
    2008-12-16 16:28:04下载
    积分:1
  • 5.餐厅点餐系统(源码+数据库)
    基于jsp的在线点餐,可以支持手机web(JSP based online ordering can support mobile web.)
    2018-10-26 15:12:46下载
    积分:1
  • 一个招聘系统
    一个基于 ssh的java招聘在线招聘系统适合做毕设 
    2022-01-25 14:33:42下载
    积分:1
  • GridDelete
    A grid with vertical spacing between rows Source Code for Andriod.
    2013-12-16 11:31:51下载
    积分:1
  • Tomcat的java ZK ZK欢迎您,使Web应用程序丰富的最简单的方法。TH…
    Java+Tomcat+ZK Welcome to ZK, the simplest way to make Web applications rich. The Developer s Guide describes the concepts and features of ZK. For installation, refer to the Quick Start Guide. For fully description of properties and methods of components, refer to the Developer s Reference.-Tomcat Java ZK Welcome to ZK, the simplest way to make Web applications rich. The Developer"s Guide describes the concepts an d features of ZK. For installation, refer to the Quick Start Guide. For fully descri ption of properties and methods of components. refer to the Developer"s Reference.
    2022-08-15 14:21:14下载
    积分:1
  • 696518资源总数
  • 105554会员总数
  • 2今日下载