cerulean

          myeclipse中web.xml文件不識(shí)別taglib的問題

          用myeclipse創(chuàng)建web工程時(shí),向web.xml文件中添加一些taglib的時(shí)候,總會(huì)報(bào)錯(cuò),不過不影響使用。
          在網(wǎng)上查了一下,好像是web.xml文件頭格式的問題,最簡(jiǎn)單的解決方法是多加一個(gè)<jsp-config>標(biāo)簽,以struts標(biāo)簽為例:
          <jsp-config>
          <taglib>
                
          <taglib-uri>/WEB-INF/struts-html</taglib-uri>
                
          <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
            
          </taglib>
            
            
          <taglib>
                
          <taglib-uri>/WEB-INF/struts-bean</taglib-uri>
                
          <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
            
          </taglib>
            
            
          <taglib>
                
          <taglib-uri>/WEB-INF/struts-logic</taglib-uri>
                
          <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
            
          </taglib>
          </jsp-config>

          posted on 2007-04-15 10:13 cerulean 閱讀(1844) 評(píng)論(2)  編輯  收藏 所屬分類: Java 、web

          評(píng)論

          # re: myeclipse中web.xml文件不識(shí)別taglib的問題 2008-05-06 17:11 shohokuf

          thanks lz 分享!1  回復(fù)  更多評(píng)論   

          # re: myeclipse中web.xml文件不識(shí)別taglib的問題 2008-11-26 12:24 langpa

          特別感謝分享,好人。  回復(fù)  更多評(píng)論   

          導(dǎo)航

          <2007年4月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          統(tǒng)計(jì)

          常用鏈接

          留言簿(3)

          隨筆分類

          隨筆檔案

          搜索

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 科尔| 延安市| 沾益县| 江永县| 广丰县| 周宁县| 浦县| 黔西| 漳浦县| 登封市| 南乐县| 枣阳市| 安化县| 郁南县| 丽江市| 聂荣县| 平谷区| 扬中市| 塔河县| 大安市| 北川| 曲阳县| 灵台县| 察哈| 吉水县| 丹东市| 祁连县| 渑池县| 贺兰县| 邵武市| 乌鲁木齐市| 灯塔市| 开化县| 织金县| 崇左市| 巧家县| 柯坪县| 板桥市| 新绛县| 方正县| 安国市|