求解下面問題
<%@ page language="java" import="java.util.*,java.io.*" contentType="text/html; charset=utf-8"
??? pageEncoding="utf-8" %>
?<%
??? response.setContentType("text/html;charset=utf-8");? //設(shè)置響應(yīng)的MIMI類型
??? out.println("<h1>response內(nèi)置對(duì)象</h1>");
??? out.println("<hr>");
?? // out.flush();
??? PrintWriter outer= response.getWriter(); //獲得輸出流對(duì)象
??? outer.println("大家好,我是response對(duì)象生成的輸出流outer對(duì)象");
??? response.sendRedirect("Reg.jsp");//請(qǐng)求重定向會(huì)跳轉(zhuǎn)到指定的jsp頁面中
???? %>
運(yùn)行后,總是出現(xiàn)下述界面
HTTP Status 404 – Not Found
Type Status Report
Message /JspInnerObjectDemo/response.jsp
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
2019-06-10
你寫沒有寫Reg.jsp頁面呢?它重定向到這個(gè)頁面了.....這倆頁面是不是在一個(gè)文件夾下呢?
2019-03-26
重建一個(gè)
2018-10-16
按照要求去掉?pageEncoding="utf-8",還是出現(xiàn)上面的頁面,問題沒有解決
2018-10-10
?pageEncoding="utf-8" 去掉