参考:http://www.cnblogs.com/suyang/archive/2008/03/26/1123117.html http://blog.csdn.net/lingyu940/article/details/5070137