• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error 500: Response already committed ?

 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 169
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the value of 'footer'? And have you tried without the spaces around it?
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic