Overall average rating is: 42.67. Chayaa reef serial number.
Head first servlets jsp 2nd edition 2017. Watch it!You can’t do a sendRedirect after writing to the response!That’s probably obvious, but it’s the LAW so we’re just making sure.If you look up sendRedirect in the API, you’ll see that it throws an IllegalStateException if you try to invoke it after “the response has already been committed.”By “committed”, they mean that the response has been sent. That just means the data has been flushed to the stream.For practical purposes, it means you can’t write to the response and then call sendRedirect!But some picky professor will tell you that technically, you could write to the stream without flushing, and then sendRedirect wouldn’t cause an exception. But it would be a completely stupid thing to do, so we won’t talk about it.