[Java web]-- 常見錯誤總結

一、Cannot call sendRedirect() after the response has been committedjava 緣由:因爲程序在轉發或者重定向後沒有結束方法,因此致使該錯誤mysql 解決:在sendRedirect()或者requestDispatcher().forword(request,response);語句後面添加return;語句便可web   二、數據
相關文章
相關標籤/搜索