login page using jsp servlrt with mysql database?

login page using jsp servlrt with mysql database?

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.......

View Answers

February 11, 2013 at 4:59 PM

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

Login Authentication using Bean and Servlet In JSP









Related Tutorials/Questions & Answers:
login page using jsp servlrt with mysql database?
login page with mysql using jsp
Advertisements
code for user registration page and login page of emails using jsp
jsp login page
using ajax and jsp (struts) to login and remain on same page.
jsp login page
Using javabeans to connect mySQL database on a jsp page - JSP-Interview Questions
login page php mysql example
JSP LOGIN Page
basic login and registration web page using jsp and servlet without using bean .....
JSP Login Page Question
jsp using include & with mysql
how to upload an image from a jsp page to a mysql database table using jsp
need help....how to connect and disconnect multiple databases(databases created in mysql) using java and my sql
add cookies to login form in jsp by using struts2.0 framework
problem in inserting data in databases created in netbeans using jsp..
how to retrieve text and images from mysql database and show on html page using jsp servlet
login page
program code for login page in struts by using eclipse
Login form using Jsp in hibernate - Hibernate
Redirect to same jsp page on successful login
create login page using data from text file
admin login control page - JSP-Servlet
How to Create Login/ Registration Form using PHP and MYSQL
problem in inserting data in databases created in ecplise using jsp
problem in inserting data in databases created in ecplise using jsp
how to fetch image from mysql using jsp
Jdbc Login Page Validation using Combobox
Jdbc Login Page Validation using Combobox
how to connect jsp with sql database by netbeans in a login page?
how to connect jsp with sql database by netbeans in a login page?
how to connect jsp with sql database by netbeans in a login page?
Jdbc Login Page Validation using Combobox
login and registration form using servlet and authentication through mysql
jsp fie execution in tomcat and using mysql - JDBC
upload csv to mysql db using jsp upload
Upgrading databases between MySQL 5.0 to MySQL 5.5
Direct jsp coding for gmail login page and to open mail
Image upload in mysql database using jsp servlet
jsp page authentication panel using jsp/servlet?
Login Authentication using Bean and Servlet In JSP
login page
login page
Exporting data from mysql into csv using jsp
login authentication in jsp and servlet
get info from mysql using jsp and servlet
login in jsp
JSP LOGIN
JSP &MYSQL
Login page

Ads