☑Kizspy.me
Question 2:
(3.0 points)
You are given a NetBeans template project (read more detail in the first page).
Your tasks
.
Add MyCoach.jsp and start running from this page (As shown in figure 1) (The user can access
your page via url/MyCoach.jsp): (0.5 point)
Enter coach code:
Enter coach name:
Choose an position:
Enter years of experience:
ADD
Goalkeeper Fitness Head
Coach code Coach name Position Years of experience
Figure 1. Interface of page
(When the web page runs, if the interface is not the same as above, will not be considered for grading)
Assume users fill the values for the textfields, when users click "ADD" button:
a. Check exist: If list of coachs (table) exists an item containing the coach code (input into the
texfield), show the error text "Coach existed!". (1.0 point)
When input strings and choose an option
After clicking the "ADD" button
Enter coach code:
C01
Enter coach name:
Alex Ferguson
Enter coach code:
Enter coach name:
C01
Alex Ferguson
Choose an position:
Enter years of experience: 20
O Goalkeeper O Fitness Head
Choose an position:
O Goalkeeper O Fitness Head
Enter years of experience: 20
ADD Coach existed!
ADD
Zoom
+ 100%
Close