【C014018】给定test.jsp文件代码片段,如下:
<%pageContext.setAttribute(“username”,”zhangsan”)%>
___________//此处填写代码
给定include.jsp文件代码片段,如下:
<%=pageContext.getAttribute(“username”)%>
要求运行test.jsp时,浏览器上输出:zhangsan,
要满足以上条件,test.jsp中下划线处应填入以下( )语句。
A.<jsp:include page=”include.jsp” flush=”true”/>
B.<%@ include file=”include.jsp”%>
C.<jsp:forward page=”include.jsp”/>
D.<%response.sendRedirect(“include.jsp”);%>