I am totally new to this. I am developing a simple web application where I have a login page to enter username, password, usertype. Depending on the usertype it should open different xhtml pages.
I want to know how can I pass the value of the userID to the pages for further reuse?
session.setAttribute("name", userName);
how can I call this variable from the xhtml page?
Thanks.