A web application for account login built with Struts.
This project is jointly developed by the following members.
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
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)
User is to retry login