web项目获取web.xml中初始值

对于web.xml中 web

<context-param>
  <param-name>queryWithIP</param-name>
  <param-value>1</param-value> jsp

</context-param> this

jsp中this.getServletContext().getInitParameter("queryWithIP")获取 xml

相关文章
相关标签/搜索