已经有提交,不能再次转发解决办法
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){}
浙公网安备 33010602011771号