PRJ301_-_PE_-_SP_2024_1490.webp
B

PRJ301_-_PE_-_SP_2024_1490.webp

Enter number1:
Enter number2:
Execute
Your tasks: When users click "Execute" button, the browser makes a request to /exe using Post method (The Servlet is configured in web.xml) (0.5 point):
a. Check input the integer number for two texts (>0):
- If input texts are empty, show the error text "You must input texts" to servlet. (0.5 point)
- If users input a value is not an integer number > 0, show the error text "You must input an integer > 0"to servlet. (0.5 point)
b. Find 3 first common multiples of two integers numberl and number2, then output the result to servlet (Example: number1=2 and number2=6 output: 6 12 18). (1.0 point)
Question 2:(2.5 points)
You are given a NetBeans template project (read more detail in the first page). The given project already added MyExam.jsp and start running from this page.
Your tasks
Edit MyExam.jsp as follows: (If the interface is not edited according to the exam requirements,the remaining parts will not be graded)

+ 100%
Zoom
PLAYER INFORMATION

Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRJ301_-_PE_-_SP_2024_1490.webp
File size
201.1 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom