ServletContext对象
servletcontext对象:在java web开发中使用servletcontext对象表示web应用程序.说明:1,在一个web项目中只能有一个Servletcontext对象.2.每个项目中都有对应的Sercletcontext对象.3,servletcontext是一个接口,实现类为tomcat引擎提供.
获取Servletcontext对象.有2种方式①:通过ServletConfi...
原创
2019-08-19 19:22:29 ·
136 阅读 ·
0 评论