This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Internal error flushing the buffer in release()  RSS feed

 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does anyone know why this occurs? All I am doing is printing a string using out.println() in a jsp page
 
Frederic Filiatrault
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Not sure on this one but can you give more info on why are you doing it there ? I assume your talking about JSP Tag, right? You should verify but it makes sense that you cannot access the buffer in the release function.

doEndTag() method should be the last step before Servlet container release the buffer.
the release() method should free up ressources only.
Reply me with more info if you want. I`ll take a look. thk !
 
Preetham Chandrasekhar
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Nope.....my bad...it was a very simple task...all i was doing was printing a string into the output stream. But my string started with a <![CDATA...and this was'nt accepted.

all i was doin was:
<%
String abe = request.getParameter("xyz");
out.println(abe);
%>
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!