摘要: 一、引言 Spring框架是由于软件开发的复杂性而创建的。Spring使用的是基本的JavaBean来完成以前只可能由EJB完成的事情。然而,Spring的用途不仅仅限于服务器端的开发。从简单性、可测试性和松耦合性角度而言,绝大部分Java应用都可以从Spring中受益。 ◆目的:解决企业应用开发的 阅读全文
posted @ 2020-01-15 20:53 执笔coding 阅读(121) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2019-12-22 18:59 执笔coding 阅读(3) 评论(0) 推荐(0) 编辑
摘要: function copyToClipboard(s){ if(window.clipboardData){ window.clipboardData.setData('text',s); }else{ (function(s){ document.oncopy=function(e){ e.cli 阅读全文
posted @ 2019-12-20 10:19 执笔coding 阅读(835) 评论(0) 推荐(0) 编辑
摘要: 打开微信:weixin:// 微信扫一扫:weixin://scanqrcode 打开支付宝:alipay:// 支付宝扫一扫:alipayqr://platformapi/startapp?saId=10000007 支付宝搜索: alipayqr://platformapi/startapp?s 阅读全文
posted @ 2019-12-19 17:16 执笔coding 阅读(839) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: 'POST', url: "url", data: { appName: appName, op: appStatus }, dataType: "JSON", success:function(res) { console.log(res); $("#status"+ 阅读全文
posted @ 2019-11-07 09:36 执笔coding 阅读(113) 评论(0) 推荐(0) 编辑
摘要: window.onload = function(){ var i = 600; var timer = setInterval(function(){ if(i== -1){ window.location.href="/test/order/result"; clearInterval(time 阅读全文
posted @ 2019-11-07 09:28 执笔coding 阅读(112) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <head> <meta charset="utf-8"> <title>xxxxxxx</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" conten 阅读全文
posted @ 2019-11-05 16:56 执笔coding 阅读(2556) 评论(0) 推荐(0) 编辑
摘要: 一、多线程的几种实现方式 1.1 继承Thread 1.2 实现Runnable 1.3实现Callable 二、线程状态 三、线程的几种操作 3.1 终止 由于原有的stop方法有线程安全问题,后续推荐的解决方案是,在目标线程加入控制代码,能够自主的控制线程的执行。 3.2 暂停 sleep 通过 阅读全文
posted @ 2019-10-21 22:32 执笔coding 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 1.项目运行 1.1环境搭建 使用vs code插件安装auto.js,手机上安装auto.js。 连接手机 ctrl+shift+p 打开命令栏 输入connect 连接指令 ,连接上手机 1.2 hello world toast("hello world"); 运行需要将将项目保存到手机,使用 阅读全文
posted @ 2019-10-18 10:10 执笔coding 阅读(1159) 评论(0) 推荐(0) 编辑
摘要: 1.获取当前年份 阅读全文
posted @ 2019-10-15 15:33 执笔coding 阅读(885) 评论(0) 推荐(0) 编辑