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

Login Servlet Please

 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I intend to make a login servlet which stores username and password in its Hashtable through Html parameters and further in ServletContext and allow user to enter into the site after proper checking whether the user is registered or not.
Does anyone has a sample code for the above or any pseudocode type suggestion enabling me to go through this.
Thanks and kind regards
Rashid Ali
 
Hazel Sisson
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
you might find this website useful - it contains an example login servlet.
http://www.wdvl.com/Authoring/Java/Servlets/sample.html
Hazel
 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much Hazel for your link which really helped me out to sort out the problem.
Kind regards
Rashid Ali
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic