![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
web.xml
随缘121
这个作者很懒,什么都没留下…
展开
-
Web.xml配置详解之context-param
格式定义: [html] view plaincopy context-param> param-name>contextConfigLocationparam-name> param-value>contextConfigLocationValue>param-value> context-param>转载 2015-08-06 10:55:03 · 804 阅读 · 0 评论 -
context-param和init-param区别
web.xml里面可以定义两种参数: (1)application范围内的参数,存放在servletcontext中,在web.xml中配置如下: context/param avalible during application (2)servlet范围内的参数,只能在servlet的init()方法中取得,在web.xml中配置如下:转载 2015-08-06 11:17:17 · 671 阅读 · 0 评论