Gwen Way wrote:
> java.lang.IllegalStateException: Cannot create a session after the
> response has been committed 

Seems pretty clear.

Creating a session requires setting some headers (to send the session
cookie to the client). You can't do that after the response has been
committed (usually after a few kilobytes of data has been written).

The solution? Create your session earlier, ideally before yousend any
content to the client.

Mark




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

Reply via email to