PRJ301_-_SP_2024_-_RE_1764.webp
M

PRJ301_-_SP_2024_-_RE_1764.webp

Consider the contents of 2 jsp files:
<!-- In File: test.jsp -->
<html>
<body>
<% String s = "Hello"; %>
//1 insert LOC here.
<%=s%>
</body></html>
<!-- In File: test2.jsp -->
<% s = s+" world"; %>
What can be inserted at //1 so that it prints "Hello world" when test.jsp is requested?
A. <%@ include file="test2.jsp"%>
B. <jsp:directive.include page="test2.jsp"/>
C. <jsp:include page="test2.jsp"/>
D. <%! include file="test2.jsp"%>


Exit (13
  • Like
Reactions: seloena

Thông tin

Category
PRJ301
Thêm bởi
Mỹ Duyên2
Ngày thêm
Lượt xem
2,446
Lượt bình luận
35
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
PRJ301_-_SP_2024_-_RE_1764.webp
File size
68.2 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom