|
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 work; instead i receive an exception:
java.lang.IllegalStateException: Response has already been committed, be sure not to write to the OutputStream or to trigger a commit due to any other action before calling this method. without PersonHome.create() or response.sendRedirect() everything works fine (it works fine with either, but not with both). What is going on? What am I doing wrong? |
- Re: Response has been already committed... Sergei Batiuk
- Re: Response has been already committed... Sergey G. Aslanov
- Re: Response has been already committed... Lachezar Dobrev
