Response is already commited on redirect
The authentication filter is throwing an IllegalStateException whenever someone logs into the elog. The filter is complaining the the response is already committed when the user is redirected after a successfull login. The user does not see this and it is transparent to them. However, the logger is getting filled up. I'm already wrapping the response to override isCommitted() so I'm not sure what is happening.
#3 Updated by Kyle Hazelwood about 3 years ago
- Status changed from Remission to Resolved
If the HttpServletResponse getWriter() method is called then the response is committed and then the sendError() method throughs this error. I switched all statements to getOutputStream() so that I can still use sendError(). Hopefully this fixes the problem.