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

相關文章
相關標籤/搜索