求教,怎么在Servlet中定义一个作用域为Application,类型为type的变量。 可能只能通过TOMCAT的seserver.xml<context>参数来设置了 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 假设有个class User, 对象为u,vrequest.getSession().getServletContext().setAttribute("aaa",User u);User v = (User)request.getSession().getServletContext().getAttribute("aaa");其中request.getSession().getServletContext()就是application了 关于对象的问题 jsp制作在线聊天窗口 struts2 自动类型转换问题 用过FCKeditor编辑器的进来 快来看看吧 如何重命名文件? jsp页面自动跳转问题! 急!!! 新手提问,自己找不出问题出再什么地方 在struts2中,界面数据进行运算,怎么做 100分求助!最近接到几个网站建设的大订单,大家快帮忙估个价(国内市场价和国外市场价),同时征求合作开发者!急!急!急!凡诚心出谋 如何结合配置resin和iis,以可以在iis浏览jsp文件? javabean连接数据库的问题
User v = (User)request.getSession().getServletContext().getAttribute("aaa");其中request.getSession().getServletContext()就是application了