Skip to content

配置_StatViewFilter

温绍锦 edited this page Feb 17, 2021 · 3 revisions

1. 配置web.xml

  <filter>
    <filter-name>DruidStatViewFilter</filter-name>
    <filter-class>com.alibaba.druid.support.http.StatViewFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>DruidStatViewFilter</filter-name>
    <url-pattern>/druid/*</url-pattern>
  </filter-mapping>
Clone this wiki locally