Cannot forward after response has been committed问题 try {
PrintWriter out = response.getWriter();
//输出
out.print("用户名或密码错误!");
//out.flush();
out.close();
} catch (IOException e) {
e.printStackTrace();
}
改了之后就是这样了
try { PrintWriter out = response.getWriter(); //输出 out.print("用户名或密码错误!"); //out.flush(); out.close(); } catch (IOException e) { e.printStackTrace(); }
改了之后就是这样了