java.lang.IllegalStateException: Cannot forward after response has been committed
現象:頁面報500.
原因:
在request.getRequestDispatcher("/success.html").forward(request, response);
后面還有未執行的代碼,但是已經提交了響應。
Gavin
posted on 2012-04-14 09:08 GavinMiao 閱讀(484) 評論(0) 編輯 收藏 所屬分類: 異常積累