上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页
摘要: public class PageObject { public PageObject(Integer page, Integer size) { this.page = page; if (page < 1) { page = 1; } this.pageSize = size; } public 阅读全文
posted @ 2017-05-04 14:00 albert_think 阅读(426) 评论(0) 推荐(0) 编辑
摘要: 标签:详解 ibatis的result标签中用select 原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://zorro.blog.51cto.com/2139862/821777 <resultMap id="usermodule 阅读全文
posted @ 2017-04-07 10:57 albert_think 阅读(3165) 评论(0) 推荐(0) 编辑
摘要: 摘录高斯的一段话(出自普林斯顿数学指南(第三卷) (豆瓣)): 带来最大欢乐的并不是知识,而是学习的行动;并不是占有,而是达到那里的行动。当我弄清楚了以及搞完了一个主题以后,我就离它而去,以便再回到黑暗之中;永远不满足的人就是这么奇怪——如果他完成了一个建筑,这并不是为了能和平地住在里面,他会去建造 阅读全文
posted @ 2017-03-27 16:01 albert_think 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 转载地址 https://my.oschina.net/Tsher2015/blog/674583 Contorller入口: validate验证码: 自定义Realm: web.xml配置: spring配置: 转载地址 https://my.oschina.net/Tsher2015/blog 阅读全文
posted @ 2017-03-24 14:27 albert_think 阅读(1069) 评论(0) 推荐(0) 编辑
摘要: 转载地址 https://my.oschina.net/Tsher2015/blog/655191 package com.sojson;import org.apache.shiro.crypto.hash.Md5Hash;import org.apache.shiro.crypto.hash.S 阅读全文
posted @ 2017-03-23 17:33 albert_think 阅读(762) 评论(0) 推荐(0) 编辑
摘要: 转载:https://my.oschina.net/Tsher2015/blog/655167 测试实例: package com.sojson;import static org.junit.Assert.*;import org.apache.shiro.SecurityUtils;import 阅读全文
posted @ 2017-03-23 17:27 albert_think 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 转载地址 https://my.oschina.net/Tsher2015/blog/655162 测试实例: package com.sojson;import static org.junit.Assert.*;import org.apache.shiro.SecurityUtils;impo 阅读全文
posted @ 2017-03-23 16:55 albert_think 阅读(806) 评论(0) 推荐(0) 编辑
摘要: 转载地址 https://my.oschina.net/Tsher2015/blog/654993 摘要: 核心JAR包:shiro-core.jar 1.shiro流程: 1.1.使用数据源,也就是RealM初始化SecurityManagerFactory. 1.2.得到SecurityMana 阅读全文
posted @ 2017-03-23 16:26 albert_think 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 转载地址:https://my.oschina.net/Tsher2015/blog/655132 import javax.naming.AuthenticationException;import org.apache.shiro.SecurityUtils;import org.apache. 阅读全文
posted @ 2017-03-23 16:20 albert_think 阅读(1218) 评论(0) 推荐(0) 编辑
摘要: import java.io.IOException;import java.io.InputStream;import java.io.InputStreamReader;import java.net.URISyntaxException;import java.nio.charset.Char 阅读全文
posted @ 2017-03-21 17:37 albert_think 阅读(677) 评论(0) 推荐(0) 编辑
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页