java mail发送邮件
摘要:import java.io.UnsupportedEncodingException;import java.util.Date;import java.util.Properties;import javax.mail.Authenticator;import javax.mail.Messag...
阅读全文
posted @
2014-06-30 11:52
强巴拉
阅读(407)
推荐(0)
Java通过socket实现smtp协议发送邮件
摘要:import java.io.BufferedReader;import java.io.DataOutputStream;import java.io.IOException;import java.io.InputStreamReader;import java.net.Socket;impor...
阅读全文
posted @
2014-06-30 11:50
强巴拉
阅读(1834)
推荐(0)
vim解决中文显示乱码问题
摘要:命令:vim ~/.vimrc写入如下:set enc=utf-8set fileencoding=utf-8set fileencodings=ucs-bom,utf8,prcset guifont=Monaco:h11set guifontwide=NSimsun:h12
阅读全文
posted @
2014-06-25 14:06
强巴拉
阅读(211)
推荐(0)
Linux -- Ubuntu搭建java开发环境
摘要:Steps1Check to see if your Ubuntu Linux operating system architecture is 32-bit or 64-bit, open up a terminal and run the following command below.Type...
阅读全文
posted @
2014-06-08 12:06
强巴拉
阅读(311)
推荐(0)
JAVA - Blowfish加密出现java.security.InvalidKeyException: Illegal key size 解决方案
摘要:最近用java进行一个blowfish的加密算法,但是在我们的eclipse上报出Illegal key size的错误。google后发现原因是:ymmetricDS加密symmetric.properties中数据库密码产生"Illegal Key Size"错误根据symmetricDS的gu...
阅读全文
posted @
2014-06-08 11:57
强巴拉
阅读(520)
推荐(0)