会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
angelshelter
2016年4月9日
注入配置数据
摘要: import org.springframework.beans.factory.annotation.Value; @Value("${pay.public.key}") private String publicKey; spring帮你注入。
阅读全文
posted @ 2016-04-09 14:58 angelshelter
阅读(134)
评论(0)
推荐(0)
java IO
摘要: StringWriter writer = new StringWriter(); new StringReader(xml) 如果是用URLConnection,记得要设置超时时间,要不然一直占用资源不结束。 con.setConnectTimeout(30000); con.setReadTim
阅读全文
posted @ 2016-04-09 10:32 angelshelter
阅读(148)
评论(0)
推荐(0)
有用架包,留着有时间以后看
摘要: 1. net.sf.oval.Validator(oval-1.84.jar) 验证
阅读全文
posted @ 2016-04-09 10:18 angelshelter
阅读(119)
评论(0)
推荐(0)
java面试
摘要: 1. 问一下服务器管理 2. 问一下流操作 3. 问一下多线程。struts是不是多线程的。或者说servlet的机制。 4. MySQL存储引擎 MyISAM 和 InnoDB 5 跨域问题。 6 数据库迁移 insert into B(name,age) select * from A; 7 网
阅读全文
posted @ 2016-04-09 10:11 angelshelter
阅读(122)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告