Java
danmog
...
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Java使用axis2调用wsdl形式的webservice
axis2调用wsdl原创 2016-12-14 15:01:28 · 3531 阅读 · 0 评论 -
银行卡信息查询
获取银行信息的接口转载 2017-08-03 14:08:48 · 12503 阅读 · 0 评论 -
Java生成随机验证码
randomCode原创 2017-05-08 13:22:51 · 426 阅读 · 0 评论 -
FtpClient
依赖jar:commons-net-3.3.jarpackage com.xxx.utils;import net.sf.json.JSONObject;import org.apache.commons.net.ftp.FTPClient;import org.apache.commons.net.ftp.FTPFile;import org.apache.commons.net.ftp.F原创 2017-12-12 10:08:10 · 423 阅读 · 0 评论 -
log4j配置
log4j.propertieslog4j.rootLogger=INFO,stdout,info,errorlog4j.appender.stdout=org.apache.log4j.ConsoleAppenderlog4j.appender.stdout.layout=org.apache.log4j.PatternLayoutlog4j.appender.stdout.layout.C原创 2017-12-04 16:11:51 · 269 阅读 · 0 评论 -
httpclient下载图片转base64
import org.apache.commons.httpclient.HttpClient; import org.apache.commons.httpclient.methods.GetMethod; public static void main(String[] args)throws Exception { HttpClient client = new原创 2017-11-30 15:33:25 · 2053 阅读 · 0 评论 -
Java生成随机验证码图片并进行Base64编码
randomCode原创 2017-08-03 14:05:41 · 2189 阅读 · 0 评论 -
序列化和反序列化
序列化原创 2017-02-06 17:13:51 · 292 阅读 · 0 评论 -
HmacSHA256
HmacSHA256原创 2017-11-24 17:00:24 · 11055 阅读 · 1 评论 -
根据身份证号码获取年龄
public static int getAge(String idcard) throws Exception { String strDate = ""; if(idcard.length() == 18){ strDate = idcard.substring(6,14); }else if(idcard.length()原创 2017-11-26 22:19:49 · 964 阅读 · 0 评论 -
File is not a normal file.
File is not a normal原创 2017-09-07 17:41:23 · 3432 阅读 · 0 评论 -
sendEmail
sendEMail转载 2017-08-03 14:17:04 · 253 阅读 · 0 评论 -
生成字母和数字组合的随机数
生成指定长度的随机数字和字母原创 2017-04-12 11:00:08 · 1808 阅读 · 0 评论 -
比较两个字符串类型日期的相差天数
比较两个字符串类型日期的相差天数原创 2017-05-17 09:34:38 · 1821 阅读 · 0 评论 -
获取ip地址
IP地址原创 2017-06-01 12:01:58 · 302 阅读 · 0 评论 -
Spring4 MVC json问题(406 Not Acceptable)
406 Not Acceptable转载 2017-06-09 17:18:52 · 320 阅读 · 0 评论 -
一个简单的ssm框架maven项目的相关配置文件
一个简单的ssm框架maven相关配置文件原创 2017-06-13 14:35:15 · 2894 阅读 · 0 评论 -
ClobToString
ClobToString原创 2017-07-31 14:56:14 · 807 阅读 · 0 评论 -
MD5 encoding
16byte MD5 encoding原创 2017-08-03 14:11:13 · 1241 阅读 · 0 评论 -
HttpClient
HttpClient转载 2017-05-08 13:26:39 · 291 阅读 · 0 评论 -
RSAUtil
RSA转载 2017-08-03 14:12:31 · 2876 阅读 · 0 评论 -
Spring配置JNDI
1、web.xmlresource-ref> description>my DB Connectiondescription> res-ref-name>mydataSourceres-ref-name> res-type>javax.sql.DataSourceres-type> res-auth>Containerres-auth> r原创 2018-01-08 19:58:23 · 1078 阅读 · 0 评论
分享