PRJ302_-_PE_-_SP_2025_3469.webp
T

PRJ302_-_PE_-_SP_2025_3469.webp

☑Kizspy.me
Question 1:
(3.0 points)
You are given a NetBeans template project (read more detail in the first page). The given project already
added index.html.
Your tasks:
• Edit index.html to create a web page and user can access your page via url /index.html (as Fugure
1) (0.5 point)
Enter coach name:
Choose an position:
Enter years of experience:
O Goalkeeper Fitness Head
SHOW
Zoom
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 into the textfields and choose a position.
When users click "SHOW" button, the browser makes a request to /show using GET method (The
Servlet is configured in web.xml) (0.5 point):
a. Check validate input years of experience: If users enter years of experience that is not an
integer number> 0, show the error text "Input years of experience is not an integer number >0!"
to servlet. (1.0 point)
b. Execute: Output the information of coach to servlet, as following. (as Fugure 2) (1.0 point)
+ 100%
Close
Chưa có bình luận nào.

Thông tin

Category
PRJ302
Thêm bởi
true_love1
Ngày thêm
Lượt xem
1,459
Lượt bình luận
0
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom