nehasoni05 / Login-Or-CreateAccount

Java Servlet backend with Tomcat & MySQL for simple login system and display basic user information

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login-Or-CreateAccount

Java Servlet backend with Tomcat; MySQL for simple login system and display basic user information Most web apps start with system Login. This mini-project serves both purposes by Building backend with Tomcat 9 & Oracle 11g for simple Login system and Displaying user information.

See how it works->

  1. First a Login page will open and if you already have an account (i.e you enter an entry in your database then it will fetch information from userinfo table)

  1. If you enter wrong username or password it will show alert.

3)If you don't have an account (i.e you didn't enter entry in database) click on create account.

After it you will navigate to Login Page again and to see user information of new user you have to enter username and password.


Database commands

Create two tables in oracle database->

Table 1-> Create loginIfo table->
create table loginIfo(username varchar(20),password varchar(20));

Table 2-> Create userinfo table->
create table userinfo(username varchar(20),name varchar(20),gender varchar(10),age number,salary number);

About

Java Servlet backend with Tomcat & MySQL for simple login system and display basic user information


Languages

Language:Java 60.1%Language:HTML 23.5%Language:CSS 16.4%