2016年12月27日

sha1加密算法【收藏】

摘要: public static String getSha1(String str){ if (null == str || 0 == str.length()){ return null; } char[] hexDigits = { '0', '1', '2', '3', '4', '5', '6' 阅读全文

posted @ 2016-12-27 22:14 JasonTech0713 阅读(183) 评论(0) 推荐(0)

[ERROR:]tomcat org.apache.catalina.LifecycleException: Failed to start component ……

摘要: 解决访法:检查web.xml中的servlet映射<url-pattern> 出现此异常,一般是由于过滤器造成的。 @WebFilter("/*") 过滤器弄错了,检查<url-pattern></url-pattern>中配置的内容是否缺少“/” ,"/"表示当前web应用。 阅读全文

posted @ 2016-12-27 22:10 JasonTech0713 阅读(147) 评论(0) 推荐(0)

导航