随笔分类 -  Java专区

keytool error: java.lang.Exception: Input not an X.509 certificate
摘要:CauseThis error occurs for three reasons:Incorrect Alias usedIncorrect Keystore usedIncorrect Certificate usedResolutionTo resolve this issueCheck :1. The original alias of the original keystore that was used to generate the csr must be used2. The original keystore used to generate the CSR must be u 阅读全文
posted @ 2012-09-12 00:10 YoVinci 阅读(2826) 评论(0) 推荐(0)
代码片段三:使用软引用构建敏感数据的缓存
摘要:public class Employee { private String id;// 雇员的标识号码 private String name;// 雇员姓名 private String department;// 该雇员所在部门 private String Phone;// 该雇员联系电话 private int salary;// 该雇员薪资 private String origin;// 该雇员信息的来源 // 构造方法 p... 阅读全文
posted @ 2012-07-31 14:33 YoVinci 阅读(351) 评论(0) 推荐(0)
The solution of download apk file as zip file in IE
摘要:Due to download the file types in IE judgment, if can’t find the corresponding suffix MIME of words, will automatically according to the data flow to determine the types of files.Edit web.xml in Tomcat and add:<mime-mapping> <extension>apk</extension> <mime-type>application/v 阅读全文
posted @ 2012-06-06 17:36 YoVinci 阅读(236) 评论(0) 推荐(0)