- 博客(2)
- 资源 (3)
- 收藏
- 关注
原创 JavaMail发件人乱码问题
今天弄个发邮件服务,部署到linuxOS的时候出现中文乱码问题。message.setFrom(new InternetAddress(MimeUtility.encodeText("") + " xxx@xx.xx"));这种转换方式在window下是没有问题,到linux系统的时候就会出现中文乱码问题,针对这种问题的时候,采用BASE64编码来转换可以解决上述问题,BA
2015-09-02 20:38:14
734
原创 spring+springMvc 架构导致定时任务重复加载执行两次
在整合spring+springMVC时候经常会导致quartz重复加载两次,会启动两个线程。所以执行定时任务会重复执行两次。针对此问题: contextConfigLocationclasspath*:/spring/*.xml springMVCorg.springframework.web.servlet.DispatcherServ
2015-09-01 14:05:39
3752
1
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人