File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Login Servlet Please Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Login Servlet Please" Watch "Login Servlet Please" New topic

Login Servlet Please

Rashid Ali
Ranch Hand

Joined: Jan 16, 2001
Posts: 349
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

Joined: Feb 12, 2002
Posts: 17
you might find this website useful - it contains an example login servlet.
Rashid Ali
Ranch Hand

Joined: Jan 16, 2001
Posts: 349
Thank you very much Hazel for your link which really helped me out to sort out the problem.
Kind regards
Rashid Ali
I agree. Here's the link:
subject: Login Servlet Please
It's not a secret anymore!