This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Login Servlet Please" Watch "Login Servlet Please" New topic
Author

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
Greenhorn

Joined: Feb 12, 2002
Posts: 17
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

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: http://aspose.com/file-tools
 
subject: Login Servlet Please
 
Similar Threads
How to servlet invoked secured EJB in JBOSS
Session in a website with html pages and servlets
problem in displaying error in jsp page
how to let Java login tomcat form authorization
FrontController and Servlet Filters