ITeye博客

tagsupport

共 1 篇文章

TagSupport

转载自http://hi.baidu.com/java__sc/blog/item/56396d3eb33e8b3d70cf6c02.html 1 TagSupport与BodyTagSupport的区别 TagSupport与BodyTagSupport的区别主要是标签处理类是否需要与标签体交互,如果不需要交互的就用TagSupport,否则如果需要交互就用BodyTagSupport。 交互就是标签处理类是否要读取标签体的内容和改变标签体返回的内容。 用TagSupport实现的标签,都可以用BodyTagSupport来实现,因为BodyTagSupport继承了TagSupport。…

2011-01-12 22:52 · tagsupport · .net · XML · JSP · Web · Servlet