摘要:
转自: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
阅读(248)
评论(0)
推荐(0)
摘要:
name like concat(concat('%',#{name}),'%') name like concat('%',#{name},'%') 阅读全文
posted @ 2017-03-17 11:08
Binz
阅读(322)
评论(0)
推荐(0)
摘要:
先定义一个拦截器注解 @Target({ElementType.METHOD, ElementType.TYPE}) @Retention(RetentionPolicy.RUNTIME) public @interface LoginRequired { } 在定义一个拦截器,下面的逻辑也可以根据 阅读全文
posted @ 2017-03-17 10:48
Binz
阅读(6151)
评论(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
阅读(16464)
评论(4)
推荐(0)
摘要:
开发一个基于注解的登录拦截器,遇到拦截器只能拦截controller不能拦截到具体的方法名,这样拦截器就完全没用,经过仔细摸索,DefaultAnnotationHandlerMapping和AnnotationMethodHandlerAdapter并不支持拦截方法,发现只有3.1版本后才支持,而 阅读全文
posted @ 2017-03-17 10:22
Binz
阅读(1019)
评论(0)
推荐(0)
摘要:
-server -Xms256m -Xmx512m -XX:PermSize=128M -XX:MaxPermSize=256m -XX:+UseG1GC 阅读全文
posted @ 2017-03-17 10:12
Binz
阅读(206)
评论(0)
推荐(0)

浙公网安备 33010602011771号