Question: Using Spring-web framework, Maven, and Java: Implement Design Controller validations and POST method to process fighter and add it to the hero pool - Implement
Using Spring-web framework, Maven, and Java:
Implement Design Controller validations and POST method to process fighter and add it to the hero pool
- Implement process hero method with POST signature
- Add validation that requires all of the fields to be populated
- Add validation that health must be more than 1000
- Add validation that damage must be less than 100
- Add validation that resistance must be from 0 to 10 and double the value
- Make sure that validation is properly working on Form Submission
- Provide messages on the design page that guide users to fix issues
Please provide the codes. Thank you.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
