当前学科:基于J2EE的开发技术
  • 题目: 未知类型

      给定include1.jsp文件代码片断,如下:<%pageContext.setAttribute(“User”,“HAHA”);%>_______//; 给定include2.jsp文件代码片断,如下:<%=pageContext.getAttribute(“User”)%>。要求运行include1.jsp时,浏览器上输出HAHA。要满足以上条件,jsp1.jsp中下划线处应填入以下语句:()

      A.<includepage=“include2.jsp”flush=“true”/>

      B.<%@includefile=“include2.jsp”%>

      C.<jsp:forwordpage=“include2.jsp”/>

      D.<%response.sendRedirect(“include2.jsp”);%>

    答案: <查看本题扣1积分>

    查看答案

    答案不对?请尝试站内搜索


推荐知识点: