隨筆-46  評論-64  文章-2  trackbacks-0
          自定義TagLib的時候碰到這個錯誤,原因是編輯tld文件的時候沒有使用DTD或者Schema文件驗證,拼寫錯誤導致最終報這個錯誤消息

          如果遇到同樣問題的同學,不妨檢查一下自己的tld文件對不對。

          BTW: tld類的異常需要處理好
          posted on 2008-08-19 15:53 jht 閱讀(7776) 評論(1)  編輯  收藏 所屬分類: J2EE

          評論:
          # re: [JSP] The function *** cannot be located with the specified prefix 2009-06-26 14:08 | web_kala
          注意<name>屬性值要和你的方法名removeHtml一致
          <function>
          <description>
          remove html from string
          </description>
          <name>removeHtml</name>
          <function-class>item.struts.myTagFunction</function-class>
          <function-signature>java.lang.String removeHtml(java.lang.String)</function-signature>
          <example>
          &lt;c:if test="${myfn:removeHtml(str)}">
          </example>
          </function>  回復  更多評論
            
          主站蜘蛛池模板: 定安县| 分宜县| 永和县| 延寿县| 岱山县| 长治市| 鹰潭市| 淮南市| 大兴区| 汝州市| 平阳县| 萨嘎县| 龙井市| 广汉市| 天祝| 梅河口市| 远安县| 合阳县| 姜堰市| 麻栗坡县| 澳门| 高陵县| 淅川县| 华容县| 封开县| 轮台县| 静安区| 衡东县| 武鸣县| 永城市| 青阳县| 瓦房店市| 呼图壁县| 金塔县| 三亚市| 孙吴县| 昌吉市| 哈尔滨市| 开阳县| 辽源市| 新乡县|