Hello dear friends! i need servlets about user's signup and then login, i mean to say when user visits my website he has to first (signup) username,password and then he is allowed to visit my site and after then confirmation of his password (login). i hope i wil get +tive response from you. Thanks
posted 14 years ago
Hi Adarsh! I was just about to post the same question... Anyone?
What i got from ur question is ur trying to achieve login functionality..if so here are the steps. When user hit ur site show him a login screen.. On submit direct to SignUp Servlet. In This servlet if login is successful redirect to confirmation page else to error page.. To redirect u can use response.sendRedirect API Rgds Manohar