摘要:
web.xml里面可以定义两种参数:(1)application范围内的参数,存放在servletcontext中,在web.xml中配置如下:<context-param><param-name>context/param</param-name><param-value>avalible during application</param-value></context-param>(2)servlet范围内的参数,只能在servlet的init()方法中取得,在web.xml中配置如下:<servlet> 阅读全文