日期:2014-05-18  浏览次数:20788 次

请那位高手解决一下这个问题,在这里谢谢了啊
java.lang.IllegalStateException:   Cannot   forward   after   response   has   been   committed
dservlet.Dsselmydisposebody.doGet(Dsselmydisposebody.java:33)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)



------解决方案--------------------
Dsselmydisposebody.java:33这个类是你自己写的吗
------解决方案--------------------
Cannot forward after response has been committed
估计你跳转的语句写错了
应该这么写
RequestDispatcher view = request.getRequestDispatcher( " ");//双引号中写你要跳转的
//servlet映射
view.forward(request,response);
------解决方案--------------------
肯定还是连接的地方写的有问题,仔细找找!