I'd be more concerned with what is before it.
If anything writes to either the page or the headers before a redirect, it
will throw an IllegalStateException.
Did you set a content type?
On Wednesday 31 December 2003 06:34 pm, you wrote:
> Howard,
>
> There are three sendRedirect() calls in the servlet. The first two
> redirect back to the login page if with the login user id is not found
> or the login password doesn't match. In both cases, the sendRedirect()
> is immediately followed by a return. (I learned to use explicit returns
> after sendRedirect() some time ago.)
>
> The sendRedirect() that is throwing the error is the last statement in
> the overall try{} block. There is a catch for SQLException which calls
> a function that would call sendRedirect() to get to the error page, but
> if we've gotten to the last statement in the try{} block, there was no
> SQLException. The only thing after the try{}/catch{} is again a return.
>
> Merrill
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]