Re: SendRedirect and IllegalStateException

2004-04-03 Thread Tim Funk
It should display company news. And you should see in your logs an IllegalStateException. (And the stack trace should contain the sendRedirect method) -Tim Umesha Balasubramaniam wrote: Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through this b

SendRedirect and IllegalStateException

2004-04-03 Thread Umesha Balasubramaniam
Hi Everyone, I am brushing up on my servlet programming after a long lay off. I was working through this book and came across the perils of using sendRedirect after commiting the response. My understanding according to the book and the 2.4 servlet api is that if you call the sendRedirect metho