Code Monkey home page Code Monkey logo

different's Introduction

Different

This is a simple website for everyone who wants to implement register, login, email authentication functions with nice and clean design.

This is a website implemented with jsp using ajax to transmit data between pages.

It uses smtp.googlegmail.com to authentication email.

For the database I used mysql.

The connection with the DB and the delete, update, select, insert are implemented with java Bean files. which are

Java

LogonDataBean.java

which have the getters and setters for the data being inserted for registration

LogonDBBean.java

page used to insert data for user registration(and creates the connection with the database too

Gmail.java

page that designates the email address and the password used to authenticate user email

Registration

Register.css

this is the file for the design of Register.html file

Register.html

page that gets the input for registration

registration

register.js

javascript file that validates for the input and sends data to email authentication page(emailSendAction.jsp) and also to regsterPro.jsp for registeration and to confirmId.jsp to check whether the Id is valid.

registerPro.jsp

jsp file that gets the value from register.js file and transmits it to LogonDBBean.java with current time value set by using the System.currentTimeMillis() function.

Email Authentication

emailCheckAction.jsp

jsp file that sends email with the email address transmitted from register.js file. this file sends authentication email by using google smtp server.

the credentials the located in Gmail.java file which have to be alternated to your email address and password

emailCheckAction.jsp

jsp file that gets the email from the DataBase makes the URL with sha256 instance which will be used to check whether the email authentication is successfull or not.

Gmail.java

java file that has the information(email address, password) to connect to google smtp server

Login

Login.html

this file has css part itself. html file that gets the input.

login

login.js

uses ajax to give the inputted value to loginPro.jsp and do the validation

loginPro.jsp

this file calls the function userCheck to validate with the values inputted from Login.html

logout.jsp

this jsp file invalidates the session

different's People

Contributors

powerstream3604 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.