gpt4 book ai didi

tomcat - 替换 Tomcat 7 中的 RequestDumperValve

转载 作者:行者123 更新时间:2023-11-28 21:44:14 25 4
gpt4 key购买 nike

Tomcat 7 不支持 Tomcat 6 及更早版本可用的 RequestDumperValve。

在 Tomcat 7 中推荐的替代品是什么?

最佳答案

为了回答我自己的问题,更广泛的谷歌搜索得出了这个:

RequestDumperValve has been replaced by RequestDumperFilter, part of an effort to replace Valves with Filters to be more spec-compliant, and therefore more flexible. This is the class you want: org.apache.catalina.filters.RequestDumperFilter

Also see: http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Request_Dumper_Filter

Note that you will configure this component in web.xml, now, and not in context.xml.

关于tomcat - 替换 Tomcat 7 中的 RequestDumperValve,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5672904/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com