怎样在servlet中得到application、session对象

ServletContext application = this.getServletContext();

application.setAttribute(" "," ");

 

HttpSession session = request.getSession();

session.setAttribute(" "," ");

posted on 2018-01-17 22:31  小欣柑  阅读(218)  评论(0编辑  收藏  举报

导航