关于 getWriter() has already been called for this response 的错误解决办法
上篇Filter、FilterChain、FilterConfig 介绍文中的代码若在多个filter中执行则会报错” getWriter() has already been called for this response “
解决方案为在doFilter() 之前将流关闭.
public vo
...