web.xml中context-param和init-param的區別

轉自:https://www.cnblogs.com/zhaoleigege/p/5807995.htmlhtml <context-param>的做用:  web.xml的配置中<context-param>配置做用 java 1. 啓動一個WEB項目的時候,容器(如:Tomcat)會去讀它的配置文件web.xml.讀兩個節點: <listener></listener> 和 <context-
相關文章
相關標籤/搜索