- 博客(5)
- 收藏
- 关注
原创 用map对list进行分组
List集合的元素对象 public class Book { //书名 private String bookName; //类型 private int type; public String getBookName() { return bookName; } public void setBookName(...
2017-08-29 15:01:58 1844
原创 枚举——动态下拉框
html <select> <%for(FieldStatic.Workflow_FlowType state : FieldStatic.Workflow_FlowType.values()){%> <option name="<%=state.getValue()%>"><%=FieldStatic.Workfl...
2017-08-22 15:56:24 165
原创 Cookie工具类
public class CookieHelper { /** * 设置cookie有效期,根据需要自定义[本系统设置为30天] */ private final static int COOKIE_MAX_AGE = 1000 * 60 * 60 * 24 * 30; /** * * @desc 删除指定Cookie ...
2017-08-15 10:02:56 125
原创 绘制生成图片验证码——数字
html <img src="/ModelTest1/test/getCodeImg" class="imgCode" onclick="this.src = '/ModelTest1/test/getCodeImg' + '?v=' + Math.random()" /> java @RequestMapping(value = "getCodeImg",method = ...
2017-08-15 09:51:17 215
原创 MD5加密工具类
public class MD5Encrypt_Util { private final static String[] hexDigits = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f" }; /** * 转换字节数组为16进制字串 * ...
2017-08-15 09:42:37 152
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人