// 给客户端返回一个json对象 StringBuilder sb = new StringBuilder("{"); sb.append("\"name\"").append(":").append(user.getName()); sb.append(","); sb.append("\"ge ...
分类:
编程语言 时间:
2016-09-25 13:19:37
阅读次数:
176
je if equal then jmp jg if the second gt the first, then jmp jge if the second ge the first, then jmp jl if the second lt the first, then jmp jle if t ...
分类:
其他好文 时间:
2016-09-24 23:25:43
阅读次数:
173
Struts2通过拦截器机制封装了三种接收页面参数的方式: 1.属性驱动 2.模型驱动(有两种) Domain ModelDriven 1.属性驱动:这种方式比较简单,只要你直接在页面定义变量并且符合以下两个规则,就会自动接收值。 规则1:你变量的名字和页面的name属性一致 规则2:生成对应的ge ...
分类:
其他好文 时间:
2016-09-24 10:33:14
阅读次数:
123
We'll learn how to get a subset of an array by specifying items to include with filter, or items to exclude using reject. We'll also look at how to ge ...
分类:
其他好文 时间:
2016-09-24 07:00:25
阅读次数:
136
看完Slick官方网站上关于Slick3.1.1技术文档后决定开始动手建一个项目来尝试一下Slick功能的具体使用方法。我把这个过程中的一些了解和想法记录下来和大家一起分享。首先我用IntelliJ-Idea创建了一个scala项目。下一步就是如何选择数据库了。Slick是集成jdbc的更高层的Qu ...
分类:
其他好文 时间:
2016-09-23 08:42:40
阅读次数:
239
主要用的是html5的文件系统部分: 参考: https://developer.mozilla.org/zh-CN/docs/Using_files_from_web_applications http://hushicai.com/2014/03/29/html5-du-qu-ben-di-we ...
分类:
Web程序 时间:
2016-09-22 19:57:56
阅读次数:
569
描述: 与id不同,多个元素可以使用相同的name属性,如果需要获取这一类元素的DOM对象,就需要使用getElementsByName()函数 代码: —————————————————————————————————————————— <script> //获取多个DOM function ge ...
分类:
Web程序 时间:
2016-09-20 21:11:05
阅读次数:
188
2016年9月20日 星期二 --出埃及记 Exodus 17:16He said, "For hands were lifted up to the throne of the LORD. The LORD will be at war against the Amalekites from ge ...
分类:
其他好文 时间:
2016-09-20 12:09:12
阅读次数:
88
一般我们在Controller层,会编写类似这样的方法 @Controller @RequestMapping(value="/detail") public class GetURIDetailController { 本质上Controller就是一个spring 组件,所以在我的请求方法 ge ...
分类:
编程语言 时间:
2016-09-19 07:51:01
阅读次数:
683
-eq等于-ne不等于-gt大于-lt小于-le小于或等于-ge大于或等于-z空串=两个字符相等!=两个字符不相等-n非空串字符串通常用来检查用户输入,系统环境是否满足条件,在提供交互式操作的shell脚本中也可以判断用户输入位置参数是否符合要求,字符串的常用操作如下:文档比较运算符:-..
分类:
系统相关 时间:
2016-09-18 15:47:46
阅读次数:
166