小男孩‘自慰网亚洲一区二区,亚洲一级在线播放毛片,亚洲中文字幕av每天更新,黄aⅴ永久免费无码,91成人午夜在线精品,色网站免费在线观看,亚洲欧洲wwwww在线观看

分享

Struts Nested 標簽庫--海天一色

 larrin 2006-03-16
Struts Nested 標簽庫 [藍冰紫火 發(fā)表于 2005-9-29 16:27:00]

Struts Nested 標簽庫的一部分標簽用于表達 JavaBean 的嵌套關(guān)系,有一部分標簽在特定的級別提供和其他Struts標簽庫標簽相同的功能。其中最主要的兩個標簽為"<nested:root>""<nested:nest>"。

1.<nested:nest>: 一個新的嵌套級別<nested:nest> 標簽可以表達JavaBean的嵌套關(guān)系。<html:form action="/showPerson"> < nested:nest property="person"> LastName: < nested:text property="lastName"> < /nested:nest> < /html:form >以上的<nested:nest>標簽的上JavaBean<html:form>單標簽對應(yīng)PersonForm Bean 。<nested:nest>標簽property屬性"person" ,代表PersonForm Bean person屬性。person屬性代表Person Bean , 因此嵌套在<nested:nest> 標簽內(nèi)部的Nested標簽都相Person Bean.

2.<nested:root>: 用來示的指定頂層級別JavaBean <nest:root> 標簽name屬性指定JavaBean的名字。嵌套在<nested:root>標簽中的<nested:nest>標簽property屬性為這JavaBean的某個屬性。<nested:root name="PersonForm"><nested:nest property="person"><nested:write property="lastName"/></nested:nest></nested:root>以上代中,<nested:root>標簽name屬性"PersonFrom",代表當(dāng)前的PersonFormBean。 嵌套其中的<nested:nest>標簽property屬性"person",代表PersonForm Beanperson屬性。

參考文獻: 精通Struts: 基于MVCJava Web 設(shè)計開發(fā)

    本站是提供個人知識管理的網(wǎng)絡(luò)存儲空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點。請注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊一鍵舉報。
    轉(zhuǎn)藏 分享 獻花(0

    0條評論

    發(fā)表

    請遵守用戶 評論公約

    類似文章 更多