启动服务后,初始化ServletConext一次就可以了.
比如说省市联级:
servlet.getServletContext().setAttribute(Constants.LOGIN_CITYS,citys);
比如说省市联级:
servlet.getServletContext().setAttribute(Constants.LOGIN_CITYS,citys);
Tags: ServletConext
Tags: ServletConext
Powered By PJBlog3 v3.1.6.227 CopyRight 2005 - 2008, Java伴侣 xhtml | css
Processed in 0.281250 second(s) , 3 queries , smixtrue Design By zKing