你这StringBuffer里面有值的,如何显示不出来?建议打印一下它看看。
http://blog.csdn.net/daixinmei/article/details/10210731
打印下结果看看 看是下正常显示了