jsp:forward相当于requestDispatcher还是sendRedirect呢?下面的实验给出答案。(视频下载) (全部书籍)
例 4.3.2:
<%@ page contentType="text/html; charset=GBK"%>
<% request.setAttribute("name","马克-to-win"); %>
<jsp:forward page="jsp2.jsp"/>
jsp2.jsp:
2023-11-09 11:20:10
jsp:forward相当于requestDispatcher还是sendRedirect呢?下面的实验给出答案。(视频下载) (全部书籍)
例 4.3.2:
<%@ page contentType="text/html; charset=GBK"%>
<% request.setAttribute("name","马克-to-win"); %>
<jsp:forward page="jsp2.jsp"/>
jsp2.jsp:
下一篇:Servlet