posts - 33,  comments - 11,  trackbacks - 0
          1、web.xml文件里加上以下配置
          <jsp-config>
              <taglib>
                <taglib-uri>http://java.sun.com/jsp/jstl/core</taglib-uri>
                <taglib-location>/WEB-INF/tld/c.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>http://java.sun.com/jsp/jstl/fmt</taglib-uri>
                <taglib-location>/WEB-INF/tld/fmt.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>http://java.sun.com/jsp/jstl/sql</taglib-uri>
                <taglib-location>/WEB-INF/tld/sql.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>http://java.sun.com/jsp/jstl/xml</taglib-uri>
                <taglib-location>/WEB-INF/tld/x.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>/tags/struts-bean</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-bean.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>/tags/struts-html</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-html.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>/tags/struts-logic</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-logic.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>/tags/struts-tiles</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-tiles.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>/tags/struts-nested</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-nested.tld</taglib-location>
              </taglib>
              <taglib>
                <taglib-uri>http://ajaxtags.org/tags/ajax</taglib-uri>
                <taglib-location>/WEB-INF/tld/ajaxtags.tld</taglib-location>
              </taglib>
               <taglib>
                <taglib-uri>/tags/struts-template</taglib-uri>
                <taglib-location>/WEB-INF/tld/struts-template.tld</taglib-location>
              </taglib>
          2、在WEB/INF下新建tld文件夾,將要用到的標(biāo)簽庫都導(dǎo)入到文件夾內(nèi)
          3、新建include/tagtld.jsp
          <%@ taglib uri="/tags/struts-bean" prefix="bean" %>
          <%@ taglib uri="/tags/struts-html" prefix="html" %>
          <%@ taglib uri="/tags/struts-logic" prefix="logic" %>
          4、在所要用到的jsp中導(dǎo)入<%@include file="include/tagtld.jsp"%>
          posted on 2007-12-18 11:00 方濤升 閱讀(2091) 評論(0)  編輯  收藏 所屬分類: struts

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          <2007年12月>
          2526272829301
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(2)

          隨筆分類

          隨筆檔案

          文章分類

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 金昌市| 涞源县| 兰考县| 繁昌县| 根河市| 乡城县| 射阳县| 重庆市| 加查县| 历史| 新源县| 武威市| 甘南县| 临猗县| 宜兴市| 平阳县| 桦甸市| 新宾| 江城| 桐梓县| 大余县| 灯塔市| 嘉义市| 罗定市| 普陀区| 乌什县| 象州县| 凉山| 武穴市| 晋城| 高安市| 琼中| 阿城市| 拉孜县| 垣曲县| 休宁县| 汨罗市| 莱州市| 娄底市| 叙永县| 田东县|