?? csdn_struts tags (3) ----bean(2).htm
字號:
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">(必須)<o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US
style="FONT-SIZE: 16pt; mso-bidi-font-size: 10.5pt">Parameter
<o:p></o:p></SPAN></B></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 3.9pt; TEXT-INDENT: 22pt"><SPAN lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">Parameter</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">用于從請求中提取參數值。得到的參數值將會被用于定義一個</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">Page</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">范圍內屬性,該屬性的類型是</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">java.lang.String</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或者</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">java.lang.String[]</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">(當</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">multiple</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">屬性不為</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">null</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">時)。</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 3.9pt; TEXT-INDENT: 22pt"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">當該標簽中出現問題時(比如指定的參數沒有找到,并且</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">value</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">屬性沒有被設置),將會拋出一個請求期的異常。</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 3.9pt; TEXT-INDENT: 22pt"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">該標簽不可含有標簽體內容。</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 3.9pt; TEXT-INDENT: 22pt"><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">該標簽有四個屬性。</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt"><o:p></o:p></SPAN></P>
<TABLE class=MsoNormalTable
style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: auto auto auto -2.25pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-table-layout-alt: fixed; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-padding-alt: 0cm 1.5pt 0cm 1.5pt"
cellSpacing=0 cellPadding=0 border=1>
<TBODY>
<TR style="mso-yfti-irow: 0">
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: gray 3pt double; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: gray 3pt double; WIDTH: 63.65pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt"
width=85>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><B style="mso-bidi-font-weight: normal"><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">屬性<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></B></P></TD>
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: gray 3pt double; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 359.15pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-left-alt: thick-thin-large-gap gray 3.0pt"
width=479>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><B style="mso-bidi-font-weight: normal"><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">描述<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></B></P></TD></TR>
<TR style="mso-yfti-irow: 1">
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: gray 3pt double; WIDTH: 63.65pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=85>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">id<o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 359.15pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-left-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=479>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">設定用于暴露頁面屬性的腳本變量的名字。<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">(必須)
<o:p></o:p></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 2">
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: gray 3pt double; WIDTH: 63.65pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=85>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">name<o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 359.15pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-left-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=479>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">設置所要獲取值的屬性的名字<SPAN
lang=EN-US><o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">(必須)
<o:p></o:p></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 3">
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: gray 3pt double; WIDTH: 63.65pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=85>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">multiple<o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 359.15pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-left-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=479>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">當該屬性被設置任何值時,生成包含所有以匹配的請求參數的<SPAN
lang=EN-US>String[]對象。如果該屬性被設置為null,但只有一個參數匹配,在String[]對象的第一個([0]元素)元素將包含獲得的值。<o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">(可選)
<o:p></o:p></SPAN></P></TD></TR>
<TR style="mso-yfti-irow: 4; mso-yfti-lastrow: yes">
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: gray 3pt double; WIDTH: 63.65pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=85>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan"
align=center><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">value<o:p></o:p></SPAN></P></TD>
<TD
style="BORDER-RIGHT: gray 3pt double; PADDING-RIGHT: 1.5pt; BORDER-TOP: #d4d0c8; PADDING-LEFT: 1.5pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #d4d0c8; WIDTH: 359.15pt; PADDING-TOP: 0cm; BORDER-BOTTOM: gray 3pt double; BACKGROUND-COLOR: transparent; mso-border-alt: thick-thin-large-gap gray 3.0pt; mso-border-left-alt: thick-thin-large-gap gray 3.0pt; mso-border-top-alt: thick-thin-large-gap gray 3.0pt"
width=479>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">缺省的值,當指定的<SPAN
lang=EN-US>name屬性沒有匹配的參數時,將會返回該值<o:p></o:p></SPAN></SPAN></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-pagination: widow-orphan"
align=left><SPAN lang=EN-US
style="FONT-FAMILY: 宋體; mso-font-kerning: 0pt">(可選)
<o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B
style="mso-bidi-font-weight: normal"><SPAN lang=EN-US
style="FONT-SIZE: 16pt; mso-bidi-font-size: 10.5pt">Resource<o:p></o:p></SPAN></B></P>
<P class=MsoNormal
style="MARGIN: 0cm 0cm 3.9pt; TEXT-INDENT: 22pt"><SPAN lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">Resuorce</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">標簽用來獲取</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">Web</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">應用的資源的值,該資源通過</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">name</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">屬性來識別。該標簽使得資源可以作為</SPAN><SPAN
lang=EN-US
style="FONT-SIZE: 11pt; mso-bidi-font-size: 10.5pt">java.io.InputStream</SPAN><SPAN
style="FONT-SIZE: 11pt; FONT-FAMILY: 宋體; mso-bidi-font-size: 10.5pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">或</SPAN><SPAN
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -