会员
T恤
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
刘振明
博客园
首页
新随笔
联系
管理
订阅
2016年1月13日
字符串16进制打印
摘要: String name = "中文"; byte[] gbkbytes = name.getBytes("ISO-8859-1"); for (int i = 0; i < gbkbytes.length; i ++) { System.out.printf("0x%02X...
阅读全文
posted @ 2016-01-13 11:34 刘振明
阅读(2912)
评论(0)
推荐(0)
2015年5月12日
Md5加密方法
摘要: package com.atguigu.surveypark.util;import java.security.MessageDigest;/** * 数据 */public class DataUtil { /** * 使用md5算法进行加密 */...
阅读全文
posted @ 2015-05-12 21:27 刘振明
阅读(544)
评论(0)
推荐(0)
2015年5月10日
泛型baseDaoImpl类中如何知道具体子类的class类型
摘要: package com.atguigu.surveypark.dao.impl;import java.lang.reflect.ParameterizedType;import java.util.List;import javax.annotation.Resource;import org.h...
阅读全文
posted @ 2015-05-10 18:15 刘振明
阅读(666)
评论(0)
推荐(0)
2015年4月25日
字符串工具类
摘要: 在实际项目中,有很多特定的需求。特别总结一些工具类进行备份。package jp.cn.itec.util.tools;public class StringUtils{ /** * 在字符串前面补零 * * @param param ...
阅读全文
posted @ 2015-04-25 10:29 刘振明
阅读(326)
评论(0)
推荐(0)
2015年3月31日
linux部署war包方案
摘要: batch.sh内容:su - -c"使用管理员权限service tomcat6 stop;停止tomca6t服务mkdir /home/jnfwzFtp/bushubackup/`date +%Y%m%d`;以当天日期创建备份目录cp -r /var/lib/mysql/jishengwei /...
阅读全文
posted @ 2015-03-31 07:37 刘振明
阅读(11486)
评论(0)
推荐(0)
2015年2月11日
js 去掉字符串前面的0
摘要:
阅读全文
posted @ 2015-02-11 13:41 刘振明
阅读(41857)
评论(0)
推荐(1)
2015年2月10日
Eclipse中删除所有注释的正则
摘要: /\*{1,2}[\s\S]*?\*/
阅读全文
posted @ 2015-02-10 16:37 刘振明
阅读(2157)
评论(0)
推荐(0)
Eclipse中web项目缓存路径
摘要: eclipse运行web项目后,默认保存到 workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebappseclipse 修改配置服务器启动时间workspace\.metadata\.plugins\org.ecli...
阅读全文
posted @ 2015-02-10 09:18 刘振明
阅读(7541)
评论(0)
推荐(0)
2015年2月3日
ssh集成log4j
摘要: http://86asm.iteye.com/blog/976019
阅读全文
posted @ 2015-02-03 13:52 刘振明
阅读(163)
评论(0)
推荐(0)
web.xml中webAppRootKey
摘要: http://elf8848.iteye.com/blog/2008595
阅读全文
posted @ 2015-02-03 13:47 刘振明
阅读(213)
评论(0)
推荐(0)
下一页
公告
点击右上角即可分享