摘要:
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 阅读全文