Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sevlets about signup and login

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Paul Michael
Ranch Hand
Posts: 697
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Adarsh! I was just about to post the same question...
Anyone?
 
Manohar Karamballi
Ranch Hand
Posts: 227
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic