<function>这东西很烦人 。。经常出这问题 。。难道是和TLD有关 ??
不过是可以用的。我以前用过 。。

解决方案 »

  1.   

    配置文件没问题.
    <tag>
    ......
    </tag>
    <function>
    ...........
    </function>这里写的function是和tag放在同一文件的,结果是没有用.而我把function分开放到一个单独的tld里面去就有用了
      

  2.   

    恩 。。那就这样用憋 。 。。可能是有BUG吧 !!!
      

  3.   

    The taglib tag is the document root, it defines: description     a simple string describing the "use" of this
    taglib, should be user discernable display-name    the display-name element contains a
    short name that is intended to be displayed
    by tools icon            optional icon that can be used by tools tlib-version    the version of the tag library implementation short-name      a simple default short name that could be
    used by a JSP authoring tool to create
    names with a mnemonic value; for example,
    the it may be used as the prefered prefix
    value in taglib directives uri             a uri uniquely identifying this taglib validator       optional TagLibraryValidator information listener        optional event listener specification tag             tags in this tag library tag-file        tag files in this tag library function        zero or more EL functions defined in this
    tag library taglib-extension zero or more extensions that provide extra
    information about this taglib, for tool
    consumption