Hi thank you for reading my post im triyng to use sitemesh for one project and im getting the following exception can some one pleas tell me , how i can overcome this? It seems that something in filters have problem , but what is that things?
I tried to look up the source but since you don't give the version I don't seem to have found the right one. However the similar code I did find suggests that the IllegalStateException comes from trying to send a Http error code AFTER the response has been committed. The response gets committed automatically when the output buffer gets full so you might try setting a reallly larrrrrrge output buffer. Bill
Joined: Mar 30, 2005
Hi thank you for reading this. Sorry if it is too long. I use struts 1.1 and Sitemesh 2.2.1 (latest version) following is my code , you see the exception above
I used Sitemesh.xml from the sanple provided with sitemesh distro and my decorators.xml is as follow :
I add the filter definition to web.xml as the sample file did.
Thank you for help
Author and all-around good cowpoke
Joined: Mar 22, 2000
The primary cause of the exception may be something completely different, with the IllegalStateException occuring when the servlet tries to create another error message because the respons has already been comitted. Some useful information should be showing up in the log files.
subject: Hi im getting IllegalState exception when im trying to use sitemesh , any help pleas