摘要: When you have to access your Managed Bean in a servlet, it depends on the scope you set for the Bean. Request-Scope:HttpServletRequest httpRequest =(HttpServletRequest) request;YourBean bean =(YourBean) request.getAttribute("yourBean");Session-Scope:HttpServletRequest httpRequest =(HttpSer 阅读全文
posted @ 2013-10-24 12:54 七月逆流 阅读(298) 评论(0) 推荐(0) 编辑