GithubHelp home page GithubHelp logo

tanshengrong / account-login-webapp-with-struts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from teo-kj/account-login-webapp-with-struts

0.0 0.0 0.0 4.86 MB

NTU CZ3002 Advanced Software Engineering - Group 66

Java 100.00%

account-login-webapp-with-struts's Introduction

Account-Login-Webapp-with-Struts

A web application for account login built with Struts.

NTU CZ3002 Advanced Software Engineering - Group 66

This project is jointly developed by the following members.

Run locally

Install Maven and JDK before execution

  • Download JDK
  • Follow the steps here and set JDK to correct path for Maven to run.
  • Download Maven

Maven

From the root directory:

set PATH="c:\program files\apache-maven-3.6.3\bin";%PATH%

Followed by:

mvn jetty:run

Web app will be up @ http://localhost:8080/simplelogin/index.action

MySQL

My MYSQL database has the username "root" and "Ase123456" password

mysql -uroot -pAse123456

To do any mysql queries in terminal

CREATE TABLE `ase_assignment2`.`useraccounts` (
   `user` VARCHAR( 10 ) NOT NULL ,
   `password` VARCHAR( 10 ) NOT NULL ,
   `name` VARCHAR( 20 ) NOT NULL ,
   PRIMARY KEY ( `user` )
) ENGINE = InnoDB;

Create inital table, can vary the maximum length :)

(no longer needed to manually create table into MySQL)

INSERT INTO `ase_assignment2`.`useraccounts` (`user`, `password`, `name`)
VALUES ('admin', 'password', 'Group 66');

Create ase admin credentials (no longer needed to manually insert admin credentials into MySQL)

Images

Login Page

login

Login Success

login_success

Login Failure

User is to retry login

login_failure

account-login-webapp-with-struts's People

Contributors

c-ping avatar tanshengrong avatar teo-kj 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.