Filter的使用(对请求和响应数据进行替换)

1、过滤器配置web.xmlhtml <filter> <filter-name>GuestbookFilter</filter-name> <filter-class>test.GuestbookFilter</filter-class> <init-param> <!-- 配置不雅字句内容的替换文件,内容如:fuck=****,每行一句 --> <param-name>word_file</p
相关文章
相关标签/搜索