已经有提交,不能再次转发解决办法

Cannot forward after response has been committed
中文意思就是已经有提交了,不能够再次转向了,然后根据JSP标签中设置的错误页面又回到了登陆页面,在网上搜索了一下找到这样一篇文章


RequestDispatcher rd = request.getRequestDispatcher("WEB-INF/jsp/user_operator_show.jsp");
try {
rd.forward(request, response);
return;
}catch(Exception e){}

posted on 2017-04-14 10:37  yd_claire  阅读(223)  评论(0)    收藏  举报

导航