Hi, I'm pretty new to this TagPlugins-thing in TC5, but after finding the tagPlugins.xml in CVS I successfully got up.
So here's my question: I have this simple Testcase JSP-page: ******************************************** <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <c:choose> <c:when test="${1 < 2}"> Case 1 </c:when> <c:otherwise> Case 2 </c:otherwise> </c:choose> ******************************************** Using JSTL1.1 nightly build and the "tagPlugins.xml" from TC CVS, Jasper produces the following code (only relevant parts shown): ******************************************** [...] private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_choose; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_when_test; private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_c_otherwise; [...] public void _jspInit() { _jspx_tagPool_c_choose = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig( )); _jspx_tagPool_c_when_test = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig( )); _jspx_tagPool_c_otherwise = org.apache.jasper.runtime.TagHandlerPool.getTagHandlerPool(getServletConfig( )); } public void _jspDestroy() { _jspx_tagPool_c_choose.release(); _jspx_tagPool_c_when_test.release(); _jspx_tagPool_c_otherwise.release(); } ******************************************** Since all <c:..> - tags used in this page are being replaced by their corresponding TagPlugins to JAVA-code (namely "if () {..} else {..}"), why is a TagHandlerPool instance for all these tags created? Is this a limitation of the current version of Jasper? TIA, Yann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
