摘要: 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> 阅读全文
posted @ 2013-02-26 15:16 转航 阅读(1427) 评论(0) 推荐(1) 编辑