PRJ301_-_PE_-_SU_2024_-_Block_5_2677.webp
Roy2002

PRJ301_-_PE_-_SU_2024_-_Block_5_2677.webp

  • Media owner Roy2002
  • Ngày thêm
Servlet is configured in web.xml) (0.5 point):
a. Check validate input n (0 < n < length of string str): If users enter the value of n not satisfied,show the error text "You must input an integer n: 0<n<length of string str." to servlet. (1.0 point)
b. Execute: Cut string str from position n to end of string str, then output the result to servlet (Example: str= "FPT University", n=4 output: "University"). (1.0 point)
Question 2:
(3.0 points)
You are given a NetBeans template project (read more detail in the first page).
Your tasks
Add MyExecution.jsp and start running from this page (The user can access your page via url / MyExecution.jsp): (0.5 point)
Enter a string (str):
Enter an integer (n):
Result:
SUB FIRST
List of Executions:
String str Index n Result
Zoom
+ 100%
Close
Chưa có bình luận nào.

Thông tin

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

Image metadata

Filename
PRJ301_-_PE_-_SU_2024_-_Block_5_2677.webp
File size
168.7 KB
Dimensions
1920px x 803px

Share this media

Back
Bên trên Bottom