Hi,
>Firstly, are taglibs supposed to create a new instance of the corresponding
>class for a tag each time a tag is encountered? A problem I'm having is
>suppose I have a taglib which outputs 'Hello World' unless a NAME property
>is set in which case it says hello to the name.
taglib classes are created once per page and reused over and over as needed.
So if you want to have some default settings, make sure that you put them at
the bottom of the instructions in the doEndTag or end of doStartTag if you
are not using the later.
------
>Secondly, I have a few taglibs which are used on most JSP pages I have. Is
>there a way to automatically imply the <%@ taglib %> tag for all pages in a
>web-application without having to use the tag at the top of each page?
There is no way that I know of.
Hope that this helped.
Pierre