I have a web-application where there are two modes of operation i.e. User and Admin. I have pages index.html, user.jsp, admin.jsp in my jsp folder. The problem is the User can go to the browser and type the admin.jsp in the url and gets the admin page. I want to restrict it.
In Other words, no one shall be allowed to directly type the addresses in the address bar to get the page.
Please guide me to start with.
Thanks in advance