In lieu of this method, servlets can share information using the ServletContext class and can perform shared business logic by invoking methods on common non-servlet classes.

  • 为了替换该方法,servlet可以使用ServletContext共享信息,也能够通过调用普通的非servlet类的方法来执行共享的业务逻辑。
目录 查词历史