List of usage examples for javax.servlet.jsp PageContext release
abstract public void release();
This method shall "reset" the internal state of a PageContext, releasing all internal references, and preparing the PageContext for potential reuse by a later invocation of initialize().
From source file:org.apache.jasper.runtime.JspFactoryImpl.java
private void internalReleasePageContext(PageContext pc) { pc.release(); if (USE_POOL && (pc instanceof PageContextImpl)) { pool.put(pc);/*ww w . ja va 2s. c o m*/ } }
From source file:org.tinygroup.jspengine.runtime.JspFactoryImpl.java
private void internalReleasePageContext(PageContext pc) { pc.release(); if (USE_POOL && (pc instanceof PageContextImpl)) { LinkedList<PageContext> pcPool = (LinkedList<PageContext>) pool.get(); pcPool.addFirst(pc);/*w w w .j av a2 s.c o m*/ } }