⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 csdn_struts tags (2) ----bean(1).htm

📁 Struts文章
💻 HTM
📖 第 1 页 / 共 5 页
字号:
                  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: 357.8pt; 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=477>
                  <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>Bean的名字。该属性是必须设置的,除非你设置了value属性<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: 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=87>
                  <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">property<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: 357.8pt; 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=477>
                  <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>Bean中的属性名,Bean的名字由name设定。如果该属性没有设置,那么脚本变量的值通过id属性从通过name属性得到的Bean相应的属性中获得。 
                  <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">
                <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: 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=87>
                  <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">scope<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: 357.8pt; 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=477>
                  <P class=MsoNormal 
                  style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: left; mso-layout-grid-align: none" 
                  align=left><SPAN 
                  style="FONT-FAMILY: 宋体; mso-font-kerning: 0pt">指定查询的用于获取属性的<SPAN 
                  lang=EN-US>Bean的作用域,如果没有设定,将会按照如下顺序查找</SPAN></SPAN><SPAN 
                  lang=EN-US style="mso-font-kerning: 0pt">page, request, 
                  session, </SPAN><SPAN 
                  style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt">和</SPAN><SPAN 
                  lang=EN-US 
                  style="mso-font-kerning: 0pt">application</SPAN><SPAN 
                  style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 0pt">。</SPAN><SPAN 
                  lang=EN-US style="FONT-FAMILY: 宋体; mso-font-kerning: 0pt"> 
                  <o:p></o:p></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: 5">
                <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: 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=87>
                  <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">toScope<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: 357.8pt; 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=477>
                  <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>page.<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: 6">
                <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: 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=87>
                  <P class=MsoNormal 
                  style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan" 
                  align=center><SPAN lang=EN-US 
                  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt">type<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: 357.8pt; 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=477>
                  <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>id属性名而展现出的的类型的完整的类名。缺省情况:如果设定了value属性,为java.lang.String,其他情况下是java.lang.Object。<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">(可选)</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt"> 
                  <o:p></o:p></SPAN></P></TD></TR>
              <TR style="mso-yfti-irow: 7; 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: 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=87>
                  <P class=MsoNormal 
                  style="MARGIN: 0cm 0cm 0pt; TEXT-ALIGN: center; mso-pagination: widow-orphan" 
                  align=center><SPAN lang=EN-US 
                  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; 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: 357.8pt; 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=477>
                  <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">java.lang.String类型的值,设定了定义的Bean的值。该属性在没有设定name属性时,是必须设定的。<o:p></o:p></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">(可选)</SPAN><SPAN 
                  lang=EN-US 
                  style="FONT-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt"><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
            <P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN 
            lang=EN-US><o:p><FONT size=3>&nbsp;</FONT></o:p></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-SIZE: 12pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 10.5pt; mso-font-kerning: 0pt"><o:p>&nbsp;</o:p></SPAN></P>
            <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">Head<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">Head</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">Cookie</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">Head</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">head</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">cookie</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">head</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">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 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -