I have two kinds of users in my application - clients and sellers. I am using a PhaseListener in JSF to prevent users from accessing pages without logging in, but a
You need to validate those parameters that ate causing error on your page when visiting directly . You can do it in prerenderview event in jsf2 or in a post construct method in jsf1.2