Inside an Interceptor I'm getting an exception

java.lang.IllegalStateException: Cannot create a session after the response
has been committed
I have access to the ActionInvocation as this is passed into doIntercept()
public String doIntercept(ActionInvocation invocation) throws Exception

My question is: from the ActionInvocation how do I find out if the response
has been committed?

Can I get the HttpServletResponse? So I can call response.isCommitted() ?

How?

Thanks,
Greg

Reply via email to