摘要: package cn.jsonlu.passguard.utils; import org.apache.commons.codec.binary.Base64; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; 阅读全文
posted @ 2016-02-24 09:47 JsonLu 阅读(508) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.fastjson.JSON import com.alibaba.fastjson.JSONObject class Test { static main(args){ String text = '{"name":"老张头", "age":66}' /** 将 阅读全文
posted @ 2016-02-17 13:41 JsonLu 阅读(274) 评论(0) 推荐(0) 编辑
摘要: 静态模型图 : 描述系统的静态结构 • 类图 ****• 对象图• 包图• 组件图• 部署图 动态模型图 : 描述系统行为的各个方面• 用例图 **• 时序图 ***• 协作图• 状态图• 活动图 * UML 中的关系主要包括 4 种 : • 关联关系 (association)• 依赖关系 (de 阅读全文
posted @ 2016-02-17 13:39 JsonLu 阅读(376) 评论(0) 推荐(0) 编辑
摘要: package com.jcut.model.base; /** * Author:JsonLu * DateTime:2016/2/1 17:14 * Email:luxd@sumpay.com * Desc: **/ public interface IBaseModel<T extends B 阅读全文
posted @ 2016-02-01 20:01 JsonLu 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 字符描述\将下一个字符标记为一个特殊字符、或一个原义字符、或一个 向后引用、或一个八进制转义符。例如,'n' 匹配字符 "n"。'\n' 匹配一个换行符。序列 '\\' 匹配 "\" 而 "\(" 则匹配 "("。^匹配输入字符串的开始位置。如果设置了 RegExp 对象的 Multiline 属性... 阅读全文
posted @ 2015-11-12 13:36 JsonLu 阅读(238) 评论(0) 推荐(0) 编辑
摘要: Spring2.5引入注解式处理器支持,通过@Controller 和 @RequestMapping注解定义我们的处理器类。并且提供了一组强大的注解:需要通过处理器映射DefaultAnnotationHandlerMapping和处理器适配器AnnotationMethodHandlerAdap... 阅读全文
posted @ 2015-09-30 14:42 JsonLu 阅读(11309) 评论(0) 推荐(1) 编辑
摘要: mvc-dispatcher-servlet.xml文件 locatiom值为项目的资源路径,mapping值为项目的引用资源路径web.xml Spring MVC Application ... 阅读全文
posted @ 2015-09-29 10:38 JsonLu 阅读(484) 评论(0) 推荐(0) 编辑
摘要: 在SAE里,直接配置config.yaml文件,文件可以配置的内容包含:目录默认页面自定义错误页面压缩页面重定向页面过期设置响应Header的Content-Typeappname: xlzxversion: 1handle:# 默认首页- directoryindex: index.php# 默认... 阅读全文
posted @ 2015-09-26 20:51 JsonLu 阅读(557) 评论(0) 推荐(0) 编辑
摘要: 1.遍历array,使用for循环或者foreach(本人建议使用)int arr[] = {2, 3, 1}; System.out.println("----1----排序前的一维数组"); for (int x : arr) { System.out.println(x); //逐个输出... 阅读全文
posted @ 2015-09-24 17:44 JsonLu 阅读(338) 评论(0) 推荐(0) 编辑
摘要: 本教程以AppServ生成自签名证书为例,同时配置OpenSSL环境1.生成自签名证书,控制台程序进入Apache目录下的bin目录>openssl req -config ../conf/openssl.cnf -new -out server.csr -keyout server.pem>ope... 阅读全文
posted @ 2015-09-22 17:13 JsonLu 阅读(421) 评论(0) 推荐(0) 编辑