1. Cannot forward after response has been committed coderanch.comHello! My web hotel upgraded from Tomcat 3.X to 4.1.18 yesterday and now my site doesn't work anymore. I have a html page where users fill out their username and password. It's a form which posts to a jsp login page. That one looks (partially) like this: if (myBean.login(username, password)) { session.setAttribute("firstname", myBean.getFirstname()); session.setAttribute("lastname", myBean.getLastname()); session.setAttribute("userid", myBean.getUserId()); response.sendRedirect("index2.jsp"); This worked fine ... |
2. Exception: Cannot forward after response has been committed java-forums.org |