tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 15281] - TagHandlerPool - missing Tag.release() - calls
Date Wed, 11 Dec 2002 18:15:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15281>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15281

TagHandlerPool - missing Tag.release() - calls





------- Additional Comments From tfohrer@t-online.de  2002-12-11 18:15 -------
Occurs in generated servlet to:

Exception in processing customtag or his body in the jsp servlet, the tag isn't 
reused and release method would never be called.

Example:

      /* ----  tools:simpleCell ---- */
      de.dcsi.util.jsp.taglibs.Validator_SimpleCell _jspx_th_tools_simpleCell_4 
= (de.dcsi.util.jsp.taglibs.Validator_SimpleCell) 
_jspx_tagPool_tools_simpleCell_width_messageName_errorName_errorColor.get
(de.dcsi.util.jsp.taglibs.Validator_SimpleCell.class);
      _jspx_th_tools_simpleCell_4.setPageContext(pageContext);
      _jspx_th_tools_simpleCell_4.setParent(null);
      _jspx_th_tools_simpleCell_4.setErrorName("messages");
      _jspx_th_tools_simpleCell_4.setMessageName("shippingtitle");
      _jspx_th_tools_simpleCell_4.setWidth("38%");
      _jspx_th_tools_simpleCell_4.setErrorColor( errorColor );
      int _jspx_eval_tools_simpleCell_4 = _jspx_th_tools_simpleCell_4.doStartTag
();
      // EXAMPLE
      throw Exception( "DON'T CALL RELEASE" );
      if (_jspx_th_tools_simpleCell_4.doEndTag() == 
javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      
_jspx_tagPool_tools_simpleCell_width_messageName_errorName_errorColor.reuse
(_jspx_th_tools_simpleCell_4);

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message