Illegal State Exception while redirecting

2003-12-18 Thread Kumar, Sumit
Hello, I am including a jsp header in every jsp page as follows: jsp:include page=ConnInclude_Authenticate.jsp flush=true / In this header, I call a class that checks if the valid user objects exists in session. Otherwise the class returns authentication as false. If the user object donot exist

Re: Illegal State Exception while redirecting

2003-12-18 Thread Bill Barker
The spec forbids an included page from changing the headers or the status code (Section 8.3 of the 2.3 Servlet Spec, which is what TC 4.1 follows). This means that it is illegal to call sendRedirect from an included page (and doubly so from one with flush=true :). Kumar, Sumit [EMAIL PROTECTED]