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

sevlets about signup and login

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
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.
Paul Michael
Ranch Hand

Joined: Jul 02, 2001
Posts: 697
Hi Adarsh! I was just about to post the same question...

SCJP 1.2 (89%), SCWCD 1.3 (94%), IBM 486 (90%), SCJA Beta (96%), SCEA (91% / 77%), SCEA 5 P1 (77%), SCBCD 5 (85%)
Manohar Karamballi
Ranch Hand

Joined: Jul 17, 2001
Posts: 227
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
I agree. Here's the link:
subject: sevlets about signup and login
jQuery in Action, 3rd edition