trx
Published on 2024-08-20 / 57 Visits
0

tomcat9隐藏报错界面版本号

tomcat隐藏版本,在server.xml中找到host元素,在里面添加<Valve className="org.apache.catalina.valves.ErrorReportValve" showReport="false" showServerInfo="false" />,重启tomcat