Example #1
0
 @Override
 public void release() {
   // TODO still problem. in JspWiki included buffers will flushed to late
   if (internalGroovyOut != null) {
     // try {
     internalGroovyOut.flush();
     // } catch (IOException ex) {
     // ex.printStackTrace(); // TODO
     // }
   }
   parentPageContext.release();
 }
 /**
  * Frees a page context after the JSP page is done with it.
  *
  * @param pc the PageContext to free
  */
 public void releasePageContext(PageContext pc) {
   if (pc != null) {
     pc.release();
   }
 }