Description: example:total users are 3.each use have username and password save in mysql database table login. After successfully login user1 see only index page,if user2 login then he see only visiter page and so on. please gine me any suggession. Thanks.......
hi friend,
According to the problem discussed above you should first get the user name and password from the form and fetch the username and password record from the database table then match both the form value and the database record if it returns true then use RequestDispatcher in your controller and forward to the required page available in the same context.
For detail tutorial you may go through the following link may this will be helpful for you
Ads