Hi there,
I am new to JSF and can someon please help me on how to extract the session value wich is the login name of the user for persistence in the backing beans....

I will be most grateful for your respons.

There are two ways of doing this,
1. The "Right" way

FacesContext ctx = FacesContext.getCurrentInstance();
  Application app = ctx.getApplication();
  LoginBean lb = (LoginBean)app.createValueBinding("#{login}).getValue(ctx);

2. Use getExternalContext() on the Faces context which will give you access to the request and session objects directly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.