posted 19 years ago
talking about tag files,
tag files are an advancement to custom tag libraries
custom tags are in version JSP1.x ..they are nothing but java classes which implement inerfaces like tag, iterationTag, bodyTag..it is a little industrious way of writing tags. In custom tag libs, you have to provide implementation for setter methods methods like setPageContext, setParent, doStartTag, doEndTag, release etc.,
tag files do away with all these methods....they are not even written as classes..they are newly added in JSP 2.0 to reduce the code...they are saved as .tag files... the body of tag files contains JSP code...and you can also use custom tags like JSTL 2.0 inside the body...
hope I am clear,