問題:
response.getWriter().wirte寫完不顯示
分析:
PrintWriter沒有flush
解決:
PrintWriter pw = response.getWriter();
pw.write("<script language=javascript>alert('登錄信息有誤');window.location='login.html'</script>");
pw.flush();
問題:
response.getWriter().wirte寫完不顯示
分析:
PrintWriter沒有flush
解決:
PrintWriter pw = response.getWriter();
pw.write("<script language=javascript>alert('登錄信息有誤');window.location='login.html'</script>");
pw.flush();