How to access property of one managed bean in another managed bean
问题 I have a managed bean (SessionScope as follow) @ManagedBean(name="login") @SessionScoped public class Login implements Serializable { private String userSession; public Login(){ } } In this managedbean, somewhere in the login function, i store the email as a session. I have another managed bean called ChangePassword (ViewScoped). I need to access the value of the email which is stored in the userSession. The reason of doing so is that i need to find out the current userSession(email) before i