IMPORTANT: This is a Spring MVC project
I need a spring mvc project that returns the id of the user in a alert form after user logins.
The project should be like this:
User should login with username and password from [login to view URL] (that has also captcha control)
After user logged in, user should see the [login to view URL]
in [login to view URL] there should be a message "Hello ...(username)..." and logout button.
I want you to create an extended javascript file named [login to view URL] that's connected to [login to view URL]
and user's id (that's get from the database) should be printed in alert message of javasciprt file([login to view URL])
Database should be MySQL and the table query is:
CREATE TABLE "users" (
"id" int(11) NOT NULL AUTO_INCREMENT,
"username" varchar(100) DEFAULT NULL,
"password" varchar(120) DEFAULT NULL,
PRIMARY KEY ("id")
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
INSERT INTO `mydb`.`users`
(`id`,
`username`,
`password`)
VALUES
(1,
"user1",
"password1");
I can share a membership parts that has [login to view URL], [login to view URL], login system, captcha control. But it doesn't have [login to view URL], You should develop this part