Re: Response has been already committed...

2001-11-17 Thread Lachezar Dobrev
Hello. Number one. That happens, if you try to "sendRedirect" in the body of the JSP. However the JSP is parsed to a Servlet, and it writes the JSP's body to the output stream. The problem is, that when the sendRedirect is found later in the body the output of the Servlet can become quite la

Re: Response has been already committed...

2001-11-16 Thread Sergey G. Aslanov
Hi all SB> Hello all, SB> I have a JSP, that processes a form and is attempting to create a record in my database via CMP EJB (Person). After my form has been processed and the PersonHome.create() methods has succeeded SB> (record has been created), the page tries to redirect to another JSP. B

Response has been already committed...

2001-11-16 Thread Sergei Batiuk
Hello all,   I have a JSP, that processes a form and is attempting to create a record in my database via CMP EJB (Person). After my form has been processed and the PersonHome.create() methods has succeeded (record has been created), the page tries to redirect to another JSP. But this doesn't