我遇到的问题处理特别简单 原因是我用的printwriter,但是输出却用了System.out.println()输出 所以只需要把System.out.println()改为write.write();就行了