国产一级a片免费看高清,亚洲熟女中文字幕在线视频,黄三级高清在线播放,免费黄色视频在线看

打開APP
userphoto
未登錄

開通VIP,暢享免費電子書等14項超值服

開通VIP
Struts Nested 標簽庫--海天一色
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ù),所有內(nèi)容均由用戶發(fā)布,如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請點擊舉報。
打開APP,閱讀全文并永久保存 查看更多類似文章
猜你喜歡
類似文章
jsp:getProperty標簽
JSTL與Struts的結(jié)合(十)
Struts2中數(shù)據(jù)標簽 <s:bean>
java研究館--jsp+javabean循序漸進教程
structs - 標簽庫(html)
Struts標簽
更多類似文章 >>
生活服務(wù)
分享 收藏 導(dǎo)長圖 關(guān)注 下載文章
綁定賬號成功
后續(xù)可登錄賬號暢享VIP特權(quán)!
如果VIP功能使用有故障,
可點擊這里聯(lián)系客服!

聯(lián)系客服