use security constraints.. Open your web.xml file and Just put the folder name between the tags. So the user can't able to access the privileged pages.That's it...
Never try to be a hard-worker. Be a smart-worker.
Manoj semwal .
Joined: Jul 10, 2008
Thanks rajkumar for your kind reply actually iam new in jsp . i never used web.xml file so pl tell me in breifly.
Joined: Mar 22, 2005
Servlet security and the web.xml file are both big topics - too big to cover in a post here. My advice would be to get an introductory servlet/JSP book, e.g. Head First Servlets/JSP. You could also read up on these concepts in the servlet specification, and study the examples that come with a servlet container like Tomcat.