http://maosheng.iteye.com/blog/1891665转到此博客有详细讲解 http://www.cnblogs.com/xuekyo/archive/2013/03/06/2945826.html