After both logging methods are made available through the ServletContext interface, the key is to obtain a reference to an object of type ServletContext.
在有了ServletContext接口提供的两个可用的日志记录方法之后,剩下的关键是获取一个对servletcontext类型的对象的引用。
It is clear that careful coordination is required when accessing the ServletContext, because the ServletContext is accessible from any request.
很明显,访问ServletContext时需要细心的协作,因为任何请求都可以访问ServletContext。
It is clear that careful coordination is required when accessing the ServletContext, because the ServletContext is accessible from any request.
很明显,访问ServletContext时需要细心的协作,因为任何请求都可以访问ServletContext。
应用推荐