二、Servlet上下文对象(ServletContext):每个Web应用程序在被启动时都会创建一个唯一的上下文对象,Servlet可通过其获得Web应用程序的初始化参数或Servlet容器的版本等...
基于52个网页-相关网页
另外,每一个Web应用程序都有自己的目录结构、会话、ServletContext(上下文环境)和类装载器,如此一来,我们甚至还能使用Web应用程序简化最初的部署,因为它减少了整个系统的各个部分之间所需要的协调工作。
基于20个网页-相关网页
This starts a new thread in the current ServletContext.
这样将在当前ServletContext中开始一个新线程。
The ServletContext interface declares two methods for passing data to a log.
ServletContext 接口声明了两个方法,用于把数据传给一个日志。
See how I was able to reference the instance of ServletContext via the application variable?
注意我是如何通过application变量引用ServletContext的实例的。
应用推荐