📄 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 + -