/ Published in: Java
                    
                                        Who cares about manipulating Maps when you can just use the HttpSession object instead right inside your page code backing bean. Who woulda thunk people would like that better. Just add this to your  PageCodeBase.java class
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 public HttpSession getSession() { return (HttpSession) getFacesContext().getExternalContext().getSession(false); }
Comments
                    Subscribe to comments
                
                