struts標(biāo)簽庫 外文翻譯.doc
約20頁DOC格式手機打開展開
struts標(biāo)簽庫 外文翻譯,外文資料所譯外文資料:①作者:ted husted②書名:struts in action③所譯章節(jié):10.310.3 the struts taglibsfirst, your application is not constrained to using only the struts tags. tag exte...


內(nèi)容介紹
此文檔由會員 wanli1988go 發(fā)布
外文資料
所譯外文資料:
① 作者:Ted Husted
② 書名:Struts in Action
③ 所譯章節(jié):10.3
10.3 The Struts taglibs
First, your application is not constrained to using only the Struts tags. Tag extensions are a standard Java technology. Other standard libraries are available,including Sun’s JSP Standard Tag Library [Sun, JSTL], the Jakarta Taglibs [ASF,Taglibs], and Struts-Layout tags by Improve [Improve], to name a few. All of these,and more, can be used in your application alongside the Struts taglibs. If you have needs that are not met by a prewritten extension, or would like to streamline a tag’s processing, you can also write your own custom tags. Your own tags can then be mixed and matched with those from other sources.
The Struts distribution includes four key tag libraries: bean, html, logic, and nesting,as listed in table 10.2. Most of the tags in the html library (org.apache. struts.taglibs.html) depend on the framework. Most of the tags in the other libraries do not rely on the framework and could be used in other applications. In this section, we look at common features shared by the Struts taglib, and then introduce each of the libraries. This material is not meant to replace the Struts
Table 10.2 The four key Struts tag libraries
譯文
所譯外文資料:
④ 作者:Ted Husted
⑤ 書名:Struts in Action
所譯章節(jié):10.3
10.3. Struts標(biāo)簽庫
首先,你的應(yīng)用并沒有被約束來只能使用 Struts 標(biāo)簽。標(biāo)簽擴(kuò)展是一個標(biāo)準(zhǔn)的Java 技術(shù)。其它標(biāo)準(zhǔn)庫也可以使用,包括Sun 的JSP 標(biāo)準(zhǔn)標(biāo)簽庫 [Sun, JSTL],Jakarta 標(biāo)簽庫 [ASF,taglibs],以及Improve 的Struts-Layout 標(biāo)簽 [Improve],當(dāng)然還有其它。所有這些標(biāo)簽,其及其它好多標(biāo)簽,都可以在應(yīng)用中和Struts 標(biāo)簽庫一起使用。如果你有些需求現(xiàn)有的標(biāo)簽不能滿足,或者你想研究一下標(biāo)簽的處理流程,你也可以自己編寫你自己的標(biāo)簽。你自己的標(biāo)簽可以和其它資源混合或者匹配使用。
Struts 的分發(fā)包包括了幾個關(guān)鍵的標(biāo)簽庫: bean, html, logic, 和nesting,列于表 10.2。位于html 庫 (org.apache.struts.taglibs.html)的大部分標(biāo)簽要依賴于框架。而其它庫中的大部分標(biāo)簽并不依賴于框架,也可以在其它應(yīng)用中使用。
所譯外文資料:
① 作者:Ted Husted
② 書名:Struts in Action
③ 所譯章節(jié):10.3
10.3 The Struts taglibs
First, your application is not constrained to using only the Struts tags. Tag extensions are a standard Java technology. Other standard libraries are available,including Sun’s JSP Standard Tag Library [Sun, JSTL], the Jakarta Taglibs [ASF,Taglibs], and Struts-Layout tags by Improve [Improve], to name a few. All of these,and more, can be used in your application alongside the Struts taglibs. If you have needs that are not met by a prewritten extension, or would like to streamline a tag’s processing, you can also write your own custom tags. Your own tags can then be mixed and matched with those from other sources.
The Struts distribution includes four key tag libraries: bean, html, logic, and nesting,as listed in table 10.2. Most of the tags in the html library (org.apache. struts.taglibs.html) depend on the framework. Most of the tags in the other libraries do not rely on the framework and could be used in other applications. In this section, we look at common features shared by the Struts taglib, and then introduce each of the libraries. This material is not meant to replace the Struts
Table 10.2 The four key Struts tag libraries
譯文
所譯外文資料:
④ 作者:Ted Husted
⑤ 書名:Struts in Action
所譯章節(jié):10.3
10.3. Struts標(biāo)簽庫
首先,你的應(yīng)用并沒有被約束來只能使用 Struts 標(biāo)簽。標(biāo)簽擴(kuò)展是一個標(biāo)準(zhǔn)的Java 技術(shù)。其它標(biāo)準(zhǔn)庫也可以使用,包括Sun 的JSP 標(biāo)準(zhǔn)標(biāo)簽庫 [Sun, JSTL],Jakarta 標(biāo)簽庫 [ASF,taglibs],以及Improve 的Struts-Layout 標(biāo)簽 [Improve],當(dāng)然還有其它。所有這些標(biāo)簽,其及其它好多標(biāo)簽,都可以在應(yīng)用中和Struts 標(biāo)簽庫一起使用。如果你有些需求現(xiàn)有的標(biāo)簽不能滿足,或者你想研究一下標(biāo)簽的處理流程,你也可以自己編寫你自己的標(biāo)簽。你自己的標(biāo)簽可以和其它資源混合或者匹配使用。
Struts 的分發(fā)包包括了幾個關(guān)鍵的標(biāo)簽庫: bean, html, logic, 和nesting,列于表 10.2。位于html 庫 (org.apache.struts.taglibs.html)的大部分標(biāo)簽要依賴于框架。而其它庫中的大部分標(biāo)簽并不依賴于框架,也可以在其它應(yīng)用中使用。