Hi guys,
I frequently get the following message while executing my
servlets:
java.lang.IllegalStateException
at org.apache.coyote.tomcat4.CoyoteResponseFacade.sendRedirect
(CoyoteResponseFacade.java:338)
There is a simple Javascript in the
JSP that calls the method on the servlet when the button on the screen is clicked. The method throws in a few attributes in the session and calls the following line:
getResponse().sendRedirect("KCSSChangeTitle.jsp");
This is where I get the
IllegalStateException.
We are using
Tomcat version 4.1.30 running on Windows 2000 server.
Does anyone know what could be causing this?
Thanks!!
P.S: The other messages on the board about IllegalStateException are about commiting response but the message I get is a little different; hence I decided to start a new
thread.