Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this to be done using Java, html and spring.io Dependencies will be lombok, spring web , thyemeleaf , H2 database FirstName's Midterm C

I need this to be done using Java, html and spring.io

Dependencies will be

lombok, spring web , thyemeleaf , H2 database

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribed
FirstName's Midterm C http://localhost:8080 . . . FirstName's Midterm Macbook cheat sh.. ] Study Links ] Productivity ] Driving Links ] PR Links - C http://localhost:8080/login Macbook cheat sh... Study Links Productivity Driving Links ] PR Welcome to the Midterm Portal! Username: Hello Test, here are the users: Password: GO! Feel free to contact them Register New User Name Phone Address Test 555-1212 burlington Daffy 123-4567 oakville Back to Main Page index.html. Use your first name in all titles! welcome.html after logging in as Test .. . FirstName's Midterm . . . FirstName's Midterm C @ http://localhost:8080/register + + C O http:/localhost:8080 Macbook cheat sh... F Study Links Productivity F Driving Links ] PR Links Macbook cheat sh... Study Links Productivity Driving Links ] PR Links Register a new user here Welcome to the Midterm Portal! User Name: Jasmine Password: ..... User Added Successfully Phone: 9999999999 Address: oakville Username: Password: Register! GO! Back to Main Page Register New User register.html (use form binding) Back to index after Register with a message. . . FirstName's Midterm C O http://localhost:8080/login Macbook cheat sh. Study Links ] Productivity ] Driving Links ] PR Links FirstName's Midterm Hello Jasmine, here are the users: - C http://localhost:8080/login Macbook cheat sh... Study Links ] Productivity ] Driving Links ] PR Feel free to contact them Invalid user/password for Jasmine Name Phone Address Test 555-1212 burlington Daffy 123-4567 oakville Back to Main Page Jasmine 9999999999 Oakville Back to Main Page Logging on as newly created user Jasmine. Invalid username and / password was entered Jasmine is now also in the database. here. Wrong password was entered here. ( Hint : a method can have more than one return statement) . You should create a Spring Boot application with Spring Web, Thymeleaf, Lombok, H2 Database and JDBC SQL dependencies. Make sure you use your own name when setting up the project! . You must use the following; o Best practices as taught in class for database access (using H2):NamedParameterJdbcTemplate MapSqlParameterSource BeanPropertyRowMapper o Thymeleaf in all dynamic pages and Form Binding in the Register User page. o Appropriate http methods handled in the controller class o Your application should not crash if user does not enter values (hint: required!) You do not have to add commenting to your code, but you may decide to put some if you are having difficulties and want to explain (for possible partial marks) INSERT INTO userinfo (name, password, phone, address) VALUES ( 'Test', 'User', '555-1212' , 'burlington' ), ('Daffy' , 'Duck' , '123-4567' , 'oakville' ) ; CREATE TABLE userinfo ( id LONG PRIMARY KEY AUTO_INCREMENT, name VARCHAR (50) , password VARCHAR (50) , phone VARCHAR (50) , address VARCHAR (200) );\f

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions

Question

describe the best way to analyze ethical problems

Answered: 1 week ago