第一种方法:http://tuckey.org/urlrewrite/ 使用介绍: http://blog.csdn.net/uhyuuhyu/article/details/12408647 http://blog.csdn.net/oatmeal2015/article/details/52688432?locationNum=5&fps=1 http://tuckey.org/urlrewrite/manual/3.0/index.html#install 第二种方法:自己在filter里边outputstream里边修改,具体网上查找