PRJ301_-_FA_2023_-_FE_1060.webp
Haruta871

PRJ301_-_FA_2023_-_FE_1060.webp

(Choose 1 answer)
A. The program prints "Welcome John"
B. The program gives a syntax error because of the statement <%! String
myName=request.getParameter();%>
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/test.jsp?name="John". The test.jsp contains the following code.
<%! String myName=request.getParameter();%><% String test= "welcome" + myName; %><%= test%>
What is the output?
Finish
3

Thông tin

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

Image metadata

Filename
PRJ301_-_FA_2023_-_FE_1060.webp
File size
50 KB
Dimensions
1286px x 546px

Share this media

Back
Bên trên Bottom