request.getServletContext()

servlect 3.0 支持,低版本不支持,报错的话看jar包的引用。

原文地址:https://www.cnblogs.com/sunxucool/p/3300925.html