jQuery in Action, 2nd edition*
The moose likes JSP and the fly likes Error 500: Response already committed ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Error 500: Response already committed ?" Watch "Error 500: Response already committed ?" New topic

Error 500: Response already committed ?

kamesh aru
Ranch Hand

Joined: Mar 16, 2002
Posts: 150
while using <jsp:include page="<%= footer %>" flush="false" /> i am getting Error 500: Response already committed

can any one help me out ?
thanks in advance
Tom Katz
Ranch Hand

Joined: Aug 19, 2002
Posts: 169
What is the value of 'footer'? And have you tried without the spaces around it?
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 61433

Originally posted by Tom Katz:
And have you tried without the spaces around it?

The spaces are irrelevant. Please avoid throwing red herrings into the mix.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

First, are you sure that the include tag is the problem?
Have you tried taking it out to see if the exception is still being thrown?

If it is the problem, are you trying to forward or redirect from within the included page?

We have a FAQ entry with some of the most common causes of IllegalStateExceptions. You might find it helpful in your case.
You can read it here:

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Error 500: Response already committed ?