aspose file tools*
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
JavaRanch » Java Forums » Java » JSP
Bookmark "Error 500: Response already committed ?" Watch "Error 500: Response already committed ?" New topic
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 61230
    
  66

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
Sheriff

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:
http://faq.javaranch.com/java/IllegalStateException


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
Don't get me started about those stupid light bulbs.
 
subject: Error 500: Response already committed ?