前端jsp:forward相当于requestDispatcher还是sendRedirect呢? 云博小周宇2024年5月5日2023年8月11日1 Min Read 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: 详情请见:http://www.mark-to-win.com/index.html?content=Jsp/jspUrl.html&chapter=Jsp/jsp3_web.html#IsjspforwardDispatcherOrsendRedirect