PRJ301_-_SU_2023_-_Block_5_-_FE_737.webp
P

PRJ301_-_SU_2023_-_Block_5_-_FE_737.webp

(Choose 1 answer)
A. The page display "Welcome John"
B. The program gives a syntax error because of the statement <% String myName=request.getParameter("name");%>
C. The program gives a syntax error because of the statement <% String test= "Welcome" + myName; %>
D. The program gives a syntax error because of the statement <%=test%>
A JSP page called test.jsp is passed a parameter name in the URL using http://localhost/Final/test.jsp?name=John. The test.jsp contains the following code.
<% String myName=request.getParameter("name");%><% String test= "Welcome" + myName; %><%=test%>
What is the output?

Exit 28

Thông tin

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

Image metadata

Filename
PRJ301_-_SU_2023_-_Block_5_-_FE_737.webp
File size
73.6 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom