服务器端包含 java.lang.IllegalStateException: Exception occurred when flushing

org.apache.jasper.JasperException: java.lang.IllegalStateException: Exception occurred when flushing data
	org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:522)
	org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:410)
	org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
	org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)  

出现上面问题用include

  request.getRequestDispatcher("/xxx.jsp").include(request, response);// 服务器端保护

  响应当前的一部分,而不是替换掉

 

request.getRequestDispatcher("/xxxx.jsp").forward(request, response); 服务器端跳转


你可能感兴趣的:(exception,服务器,include)