tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rahul P Akolkar <>
Subject Re: TagSupport vs BodyTagSupport
Date Sat, 23 Jul 2005 20:16:50 GMT
Luca Passani <> wrote on 07/23/2005 02:28:14 PM:
> ooops, I felt this was a general taglib question, more than a Struts 
> question. It only takes struts as an example,
> but the question is "is there a reason why it makes sense to always 
> subclass BodyTagSupport in a tag-library?"

Outside of frameworks, I am usually guarded about any statement that 
matches "always do *", especially those related to patterns and 

I often extend SimpleTagSupport (JSP 2.0), and have on occassions, 
preferred it over BodyTagSupport, due to its simpler life cycle.

For a far more detailed commentary, please read the jsp.tagext Javadocs 
here [ 


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message