摘要: ServletContext和ServletConfig的关联 相同点: 1、都可以用来配置Servlet 2、都可以写在web.xml中。 区别点: 1、ServletContext对象,对于所有的Servlet来说,都是相同的,即,全局的。 而每一个Servlet单独拥有一个ServletCon 阅读全文
posted @ 2018-12-07 14:31 寻觅beyond 阅读(247) 评论(0) 推荐(1) 编辑
返回顶部