tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: response.sendError
Date Fri, 04 Nov 2005 22:49:10 GMT
A guess without seeing the stack trace but I suspect that some of your 
response has been committed before you issue the redirect. This will 
cause an ISE to be thrown. See SRV.15.5

Mark

PHIL CAVAZOS wrote:
> Anyone run across this before?
> 
> I created a servlet which has JDBC calls in it. As part of error catching, I have a response.sendError
called if there is no data returned from a table call. I input to the sendError method the
value of 700 (my custom error number) and a test message. I have a custome error page created
to output a customized error message for this 700 error code. It was working fine in a web
app, but when I switched it to a production app, I got an internal server error. The logs
showed an IllegalStateException was created. Any ideas?
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message