出于安全目的,在禁用了devMode之后,仍然不希望其他人员看到webconsole.html页面,则可以直接删除webconsole.html 的源文件,

它的位置存在于: 我们手工删除 struts2-core-*.jar\org\apache\struts2\interceptor\debugging\ 文件夹下的browser.ftl、console.ftl、 webconsole.html、webconsole.js 即可 。删除完毕后,当我们再次访问,将会出现404页面。

如何关闭Struts2的webconsole.html

 

相关文章:

  • 2021-12-23
  • 2021-04-29
  • 2021-12-06
  • 2022-01-14
  • 2021-06-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-12-23
  • 2021-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-09-14
  • 2022-12-23
相关资源
相似解决方案