servlet和jsp中的全局变量
摘要:
servlet中的全局变量 protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException { ServletContext application = req.getServletContext(); Integer access = (Integer) application.getAttribute("access"); if (access == null) { access = new Integer(0);
.. 阅读全文
posted @ 2012-07-06 23:59 java课程设计 阅读(887) 评论(0) 推荐(0)