上一页 1 ··· 8 9 10 11 12 13 下一页
摘要: -server -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256m -XX:+UseG1GC 阅读全文
posted @ 2017-06-07 08:55 Binz 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 定义一个过滤器并实现如下方法 @Override protected void doFilterInternal(HttpServletRequest request, HttpServletResponse response, FilterChain filterChain) throws Ser 阅读全文
posted @ 2017-05-31 14:37 Binz 阅读(3086) 评论(0) 推荐(0) 编辑
摘要: //校验器 var validate = { //校验当前运行环境是否是手机端 isWap:function(){ var sUserAgent= navigator.userAgent.toLowerCase(); var bIsIpad= sUserAgent.match(/ipad/i) == 阅读全文
posted @ 2017-05-26 15:24 Binz 阅读(2004) 评论(0) 推荐(0) 编辑
摘要: 创建文件clear_tomcat_log.sh #!/bin/bash logs_paths[0]="app_tomcat7_8080"; logs_paths[1]="app_tomcat7_8081"; logs_paths[2]="mgmt_tomcat7_8090"; for logs_pa 阅读全文
posted @ 2017-05-11 20:00 Binz 阅读(1708) 评论(0) 推荐(0) 编辑
摘要: 通用方法 public class MapUtil { public static <K, V extends Comparable<? super V>> Map<K, V> sortByValue(Map<K, V> map) { List<Map.Entry<K, V>> list = new 阅读全文
posted @ 2017-04-06 09:17 Binz 阅读(4683) 评论(0) 推荐(1) 编辑
摘要: 转自:http://blog.csdn.net/suifeng3051/article/details/52607544 什么是秒杀 秒杀场景一般会在电商网站举行一些活动或者节假日在12306网站上抢票时遇到。对于电商网站中一些稀缺或者特价商品,电商网站一般会在约定时间点对其进行限量销售,因为这些商 阅读全文
posted @ 2017-03-17 16:36 Binz 阅读(913) 评论(0) 推荐(0) 编辑
摘要: 转自:http://blog.csdn.net/tjcyjd/article/details/50695922 Nginx的配置文件nginx.conf配置详解如下: user nginx nginx ; Nginx用户及组:用户 组。window下不指定 worker_processes 8; 工 阅读全文
posted @ 2017-03-17 16:28 Binz 阅读(235) 评论(0) 推荐(0) 编辑
摘要: name like concat(concat('%',#{name}),'%') name like concat('%',#{name},'%') 阅读全文
posted @ 2017-03-17 11:08 Binz 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 先定义一个拦截器注解 @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface LoginRequired { } 在定义一个拦截器,下面的逻辑也可以根据 阅读全文
posted @ 2017-03-17 10:48 Binz 阅读(6107) 评论(0) 推荐(0) 编辑
摘要: xml mvc版本查看:https://www.cnblogs.com/binz/p/6564490.html springboot3.x以前的版本查看 https://www.cnblogs.com/binz/p/17421063.html springboot3.x查看 https://www. 阅读全文
posted @ 2017-03-17 10:33 Binz 阅读(16361) 评论(4) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 下一页