两篇文章的地址: http://blog.csdn.net/linj_m/article/details/21892471 http://blog.csdn.net/bugrunner/article/details/7170471