package com.example.demo;

import javax.servlet.annotation.WebInitParam;
import javax.servlet.annotation.WebServlet;

import com.alibaba.druid.support.http.StatViewServlet;



@WebServlet(urlPatterns = "/druid/*", 
    initParams={
            @WebInitParam(name="allow",value="192.168.16.110,127.0.0.1"),// IP白名单 (没有配置或者为空,则允许所有访问)
            @WebInitParam(name="deny",value="192.168.16.111"),// IP黑名单 (存在共同时,deny优先于allow)
            @WebInitParam(name="loginUsername",value="root"),// 用户名
            @WebInitParam(name="loginPassword",value="123"),// 密码
            @WebInitParam(name="resetEnable",value="false")// 禁用HTML页面上的“Reset All”功能
    })
public class DruidStatViewServlet extends StatViewServlet {

	private static final long serialVersionUID = 1L;

}
最近下载更多
oulingqiao  LV13 2023年12月10日
王乐22222  LV10 2022年5月13日
lyws1986  LV17 2021年12月21日
尹恒yingying  LV18 2021年10月25日
mudingc木钉  LV30 2021年7月7日
SYX__0707  LV6 2021年4月6日
zuidaima1560  LV3 2020年5月5日
sxxpliaolei  LV1 2020年4月24日
mhaogg  LV1 2020年4月19日
kris666  LV3 2020年3月30日
最近浏览更多
vgjbvhkkkk 前天
暂无贡献等级
牛牛要爆炸了  LV2 1月17日
skook7  LV2 2023年12月14日
oulingqiao  LV13 2023年12月10日
guviva  LV6 2023年6月12日
lironggang  LV38 2023年3月22日
bluece 2023年1月12日
暂无贡献等级
38735466  LV11 2023年1月8日
Gillian000 2022年12月6日
暂无贡献等级
内心向阳  LV4 2022年11月30日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友