<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    泰仔在線

    java學(xué)習(xí),心情日記,繽紛時刻
    posts - 100, comments - 34, trackbacks - 0, articles - 0
    這是struts-bean.tld 中write的配置:
    <tag>
    <name>write</name>
    <tagclass>org.apache.struts.taglib.bean.WriteTag</tagclass>
    <bodycontent>empty</bodycontent>
    <attribute>
    <name>bundle</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>filter</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>format</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>formatKey</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>ignore</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>locale</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>name</name>
    <required>true</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>property</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    <attribute>
    <name>scope</name>
    <required>false</required>
    <rtexprvalue>true</rtexprvalue>
    </attribute>
    </tag>
    </taglib>


    其中:
    <name>write</name>:這個Tag的名字
    <tagclass>org.apache.struts.taglib.bean.WriteTag</tagclass>:這個Tag是由那個類實(shí)現(xiàn)的(這個class可以在struts.jar包中找到)
    <bodycontent>empty</bodycontent>:這個Tag可以直接結(jié)尾,不需要填寫內(nèi)容
       這里bodycontent有三個可選值
          jsp        標(biāo)簽體由其他jsp元素組成   
             如果其有jsp元素,那么標(biāo)簽會先解釋,然后將元素的實(shí)際值傳入。比如標(biāo)簽體里含有<%=attributeName%>這樣子的jsp元素,此時標(biāo)簽會按attributeName的實(shí)際值是什么就傳入什么。這個是最常用的一個。
          empty   標(biāo)簽體必須為空   
             在引用這個Tag的時候,可以<bean:write bundle="attributeName" />,而不必<bean:write bundle="attributeName" ></bean:write> 
          tagdependent   由標(biāo)簽解釋,不帶jsp轉(zhuǎn)換 
    <attribute> </attribute>這里標(biāo)識的是這個Tag的一個參數(shù)
    <name>bundle</name>這個參數(shù)的名字
    <required>false</required>這個參數(shù)是否是必填相
          如果為true則必須寫這個參數(shù),否則會報錯
    <rtexprvalue>true</rtexprvalue>是說這個標(biāo)簽的值可以寫入
          rtexprvalue:"RUN-TIME EXPRESSION VALUE",是否可以動態(tài)賦值,在jsp中如value="<%=attributeName%>"

    Feedback

    # re: 關(guān)于struts中tld 文件里配置詳解  回復(fù)  更多評論   

    2008-01-21 15:43 by langchao826
    太謝謝你了!

    # re: 關(guān)于struts中tld 文件里配置詳解  回復(fù)  更多評論   

    2013-01-04 14:08 by sssssss
    不錯不錯
    主站蜘蛛池模板: 亚洲高清成人一区二区三区| 亚洲av无码不卡| 成人妇女免费播放久久久| 国产精品亚洲A∨天堂不卡| 1000部拍拍拍18勿入免费凤凰福利 | 精品日韩99亚洲的在线发布| 四虎国产精品免费久久影院| 一级毛片**不卡免费播| 亚洲精品无码高潮喷水A片软| 亚洲伊人色欲综合网| 免费在线观看的网站| 搡女人免费免费视频观看| 亚洲色大成网站www永久网站| 亚洲人成网亚洲欧洲无码久久| 毛片免费观看的视频在线| 你懂得的在线观看免费视频| 国产精品亚洲自在线播放页码| 亚洲香蕉网久久综合影视| 国产精品嫩草影院免费| 99re在线精品视频免费| www一区二区www免费| 国产亚洲精aa在线看| 亚洲国产日韩一区高清在线| 免费一级一片一毛片| 91香蕉视频免费| 久99久精品免费视频热77| 免费大片黄在线观看| 一本色道久久88—综合亚洲精品| 亚洲AV无码一区二区三区系列| 免费人成视网站在线观看不卡| 在线看片韩国免费人成视频| 你懂得的在线观看免费视频| 尤物视频在线免费观看| 亚洲精品无码人妻无码| 亚洲精品亚洲人成在线观看麻豆| 国产精品亚洲二区在线观看| 国产免费啪嗒啪嗒视频看看| 国产情侣激情在线视频免费看| 免费黄网站在线看| 国产一级婬片A视频免费观看| 美女视频黄频a免费观看|