struts標簽bean
<!--?################################################################?-->
<!--
訪問cookie的信息內容
此標簽主要是用于在jsp中將一個cookie附給一個指定的變量
以便于在jsp中應用
-->
<bean:cookie?id="唯一標識符"?name="存在的cookie屬性名"/>
<!--?################################################################?-->
<!--
訪問cookie的信息內容
此標簽主要是用于在jsp中將scop中一個的屬性附給一個指定的變量
以便于在jsp中應用
-->
<bean:define
??id="唯一標識符"
??name="在page|request|response|session中存在的標識符"
??property="對象中的成員變量"
??scope="page|request|response|session"
??toScope="存放此對象的范圍page|request|response|session"
??type="此對象的數據類型(權限定類名)"
??value="默認初始化值"/>
<!--?################################################################?-->
<!--
訪問頭部元素的信息內容
<bean:header>標簽是用于將頭部信息中的一個元素屬性附給一個指定的變量
以便于在jsp中應用
-->
<bean:header?id="唯一標識符"?name="頭部元素中存在的屬性名"/>
<!--?################################################################?-->
<!--
訪問頭部元素的信息內容
<bean:include>標簽是用于web應用程序中的一個資源引進當前jsp中,
并且將指向它的一個地址附給指定的變量
以便于在jsp中應用
-->
<bean:include?id="唯一標識符"?page="包含的web組件的uri路徑,以?/?開頭"?/>
<!--?################################################################?-->
<!--
<bean:?page>標簽主要用于訪問jsp中的隱含對象,
??page|request|response|session|application
??將此屬性附給一個指定變量
-->
<bean:?page?id="唯一標識符"?name="jsp中的隱含對象"/>
<!--?################################################################?-->
<!--
<bean:?parameter>標簽
??用于訪問請求參數?,
??將此屬性附給一個指定的變量,便于在當前jsp中應用
-->
<bean:?parameter
??id="唯一標識符"
??name="參數名"
??value="默認值"
??multiple="??????"/>
<!--?################################################################?-->
<!--
<bean:resource>
訪問系統配置中的資源綁定信息?Resource?Bundle
此標簽的作用是,將指向系統配置中的某個資源的指針,附給指定變量,以便于在當前頁中調用
-->
<bean:resource
??id="唯一標識符"
??name="包含的?web?uri?路徑,以?/?開頭"
??input="?????"?/>
<!--?################################################################?-->
<!--
<bean:size>?用于取得某個指定數據容器的深度大小?,并且將此值附給一個指定變量名
-->
<bean:size
??id="唯一標識符"
??name="page|request|response|session中存在的屬性變量名"
??property="變量中的成員變量名"
??scope="作用范圍page|request|response|session"
??collection="java.util.Collection類變量"?/>
<!--?################################################################?-->
<!--
<bean:write>?用于輸出指定變量的內容值
-->
<bean:write
??name="page|request|response|session中存在的屬性變量名"
??property="變量中的成員變量名"
??filter="true|false"
??format="書寫格式"
??formatKey="索引主鍵,此主鍵與系統配置文件中的主鍵區配"
??scope="作用范圍page|request|response|session"
??bundle="??????"?ignore="??????"?locale="??????"
??/>
<!--?################################################################?-->
<!--
<bean:message>?用于輸出資源配置中的信息內容
-->
<bean:message
??bundle="系統配置文件中的綁定參數"
??key="與系統配置中的資源文件中的主鍵區配"?/>
<bean:message
??bundle="系統配置文件中的綁定參數"
??name="scope中存在的屬性名"
??scope="page|request|response|session"
??property="屬性對象中的成員變量名,并且此屬性變量的值與key的值相同"?/>
<!--
訪問cookie的信息內容
此標簽主要是用于在jsp中將一個cookie附給一個指定的變量
以便于在jsp中應用
-->
<bean:cookie?id="唯一標識符"?name="存在的cookie屬性名"/>
<!--?################################################################?-->
<!--
訪問cookie的信息內容
此標簽主要是用于在jsp中將scop中一個的屬性附給一個指定的變量
以便于在jsp中應用
-->
<bean:define
??id="唯一標識符"
??name="在page|request|response|session中存在的標識符"
??property="對象中的成員變量"
??scope="page|request|response|session"
??toScope="存放此對象的范圍page|request|response|session"
??type="此對象的數據類型(權限定類名)"
??value="默認初始化值"/>
<!--?################################################################?-->
<!--
訪問頭部元素的信息內容
<bean:header>標簽是用于將頭部信息中的一個元素屬性附給一個指定的變量
以便于在jsp中應用
-->
<bean:header?id="唯一標識符"?name="頭部元素中存在的屬性名"/>
<!--?################################################################?-->
<!--
訪問頭部元素的信息內容
<bean:include>標簽是用于web應用程序中的一個資源引進當前jsp中,
并且將指向它的一個地址附給指定的變量
以便于在jsp中應用
-->
<bean:include?id="唯一標識符"?page="包含的web組件的uri路徑,以?/?開頭"?/>
<!--?################################################################?-->
<!--
<bean:?page>標簽主要用于訪問jsp中的隱含對象,
??page|request|response|session|application
??將此屬性附給一個指定變量
-->
<bean:?page?id="唯一標識符"?name="jsp中的隱含對象"/>
<!--?################################################################?-->
<!--
<bean:?parameter>標簽
??用于訪問請求參數?,
??將此屬性附給一個指定的變量,便于在當前jsp中應用
-->
<bean:?parameter
??id="唯一標識符"
??name="參數名"
??value="默認值"
??multiple="??????"/>
<!--?################################################################?-->
<!--
<bean:resource>
訪問系統配置中的資源綁定信息?Resource?Bundle
此標簽的作用是,將指向系統配置中的某個資源的指針,附給指定變量,以便于在當前頁中調用
-->
<bean:resource
??id="唯一標識符"
??name="包含的?web?uri?路徑,以?/?開頭"
??input="?????"?/>
<!--?################################################################?-->
<!--
<bean:size>?用于取得某個指定數據容器的深度大小?,并且將此值附給一個指定變量名
-->
<bean:size
??id="唯一標識符"
??name="page|request|response|session中存在的屬性變量名"
??property="變量中的成員變量名"
??scope="作用范圍page|request|response|session"
??collection="java.util.Collection類變量"?/>
<!--?################################################################?-->
<!--
<bean:write>?用于輸出指定變量的內容值
-->
<bean:write
??name="page|request|response|session中存在的屬性變量名"
??property="變量中的成員變量名"
??filter="true|false"
??format="書寫格式"
??formatKey="索引主鍵,此主鍵與系統配置文件中的主鍵區配"
??scope="作用范圍page|request|response|session"
??bundle="??????"?ignore="??????"?locale="??????"
??/>
<!--?################################################################?-->
<!--
<bean:message>?用于輸出資源配置中的信息內容
-->
<bean:message
??bundle="系統配置文件中的綁定參數"
??key="與系統配置中的資源文件中的主鍵區配"?/>
<bean:message
??bundle="系統配置文件中的綁定參數"
??name="scope中存在的屬性名"
??scope="page|request|response|session"
??property="屬性對象中的成員變量名,并且此屬性變量的值與key的值相同"?/>
struts標簽html
<!--######################################################################-->
<!--?不帶參數的page連接方式?-->
<html:link?[page="/XXX.do"|action="/XXX"]>連接內容</html:link>
<!--帶參數的一種連接方式-->
<html:link
??[page="/XXX.do?paramName1=value1&paramName2=value2"|
??page="/XXX?paramName1=value1&paramName2=value2"]>
????????連接內容
??????</html:link>
<html:link?[page="/XXX.do"|action="/XXX"]
???????????paramId="參數名"
???????????paramName="在page|request|response|session中存在的屬性名">
????????連接內容
??????</html:link>
<!--帶參數的一種連接方式-->
<html:link?[page="/XXX.do"|action="/XXX"]
???????????paramId="參數名"
???????????paramName="配置文件中的BEAN的配置名稱"
???????????paramProperty="配置對象中的成員變量">
????????連接內容
??????</html:link>
<html:link?action="/XXX"
???????????name="在page|request|response|session中存在的屬性名">
????????連接內容
??????</html:link>
<html:link?href="完整的url路徑">
????????連接內容
??????</html:link>
<html:link?page="相對于當前操作路徑的url">
????????連接內容
??????</html:link>
<html:link?forward="struts配置文件中存在的<global-forwards>元素的子元素<forwar>的name值">
????????連接內容
??????</html:link>
<!--######################################################################-->
<html:img?page="相對于當前操作路徑的url"?/>
<!--######################################################################-->
<html:img?src="完整的uri路徑"
??paramId="參數名"
??paramName="page|request|response|session中存在的屬性名"/>
<!--######################################################################-->
<html:form
??action="xxx.do"
??focus="焦點"
??method="GET|POST|DELETE|PUT|HEAD|OPTIONS"?>
<!--######################################################################-->
??<!--?單行輸入框?-->
??<html:text?property="prptName">初始值</html:text>
<!--######################################################################-->
??<!--?隱藏字段?-->
??<html:hidden?property="prptName"?/>
<!--######################################################################-->
??<!--?密碼輸入框?-->
??<html:?password?property="prptName"></html:?password>
<!--######################################################################-->
??<!--?文件獲取輸入框?-->
??<html:file?property="prptName">初始值</html:file>
<!--######################################################################-->
??<!--?按鈕?-->
??<html:button?property="prptName">初始值</html:button>
<!--######################################################################-->
??<!--?提交按鈕?-->
??<html:submit?property="prptName">初始值</html:submit>
<!--######################################################################-->
??<!--?取消按鈕?-->
??<html:cancel?property="prptName">初始值</html:cancel>
<!--######################################################################-->
??<!--?重置按鈕?-->
??<html:reset?property="prptName">初始值</html:reset>
<!--######################################################################-->
??<!--?圖片按鈕?-->
??<html:image?onclick=""?src="url"?>初始值</html:image>
<!--######################################################################-->
??<!--?復選框?-->
??<html:checkbox?property="prptName">初始值</html:checkbox>
<!--######################################################################-->
??<!--多選框的表達方式一-->
??<html:multibox?property="屬性名"?value="初始值"/>
<!--######################################################################-->
??<!--多選框的表達方式二-->
??<html:multibox?property="屬性名">初始值</html:multibox>
<!--######################################################################-->
??<!--?選擇列表?-->
??<html:select
????property="prptName"
????size="指定在網頁上顯示的可選的數目"
????multiple="true|false,此屬性用于指定列表是否允許多選">
<!--######################################################################-->
????<html:option
??????value="綁定的屬性名"
??????bundle="系統文件中綁定的屬性名"
??????key="資源文件中綁定的屬性"?>lable</html:option>
<!--######################################################################-->
????<html:options
??????collection="Vector對象,此對象中放置org.apache.struts.util.LabelValueBean對象"
??????property="網頁中的value值其值一般是value"
??????labelProperty="網頁中顯示的標簽,其值一般是lable"/>
<!--######################################################################-->
????<html:optionsCollection
??????name="page|request|response|session中存在的屬性名稱"
??????property="屬性對象中的成員變量"
??????label="成員變量中的成員變量"
??????value="成員變量中的成員變量"?/>
??</html:select>
</html:form>
<!--?不帶參數的page連接方式?-->
<html:link?[page="/XXX.do"|action="/XXX"]>連接內容</html:link>
<!--帶參數的一種連接方式-->
<html:link
??[page="/XXX.do?paramName1=value1&paramName2=value2"|
??page="/XXX?paramName1=value1&paramName2=value2"]>
????????連接內容
??????</html:link>
<html:link?[page="/XXX.do"|action="/XXX"]
???????????paramId="參數名"
???????????paramName="在page|request|response|session中存在的屬性名">
????????連接內容
??????</html:link>
<!--帶參數的一種連接方式-->
<html:link?[page="/XXX.do"|action="/XXX"]
???????????paramId="參數名"
???????????paramName="配置文件中的BEAN的配置名稱"
???????????paramProperty="配置對象中的成員變量">
????????連接內容
??????</html:link>
<html:link?action="/XXX"
???????????name="在page|request|response|session中存在的屬性名">
????????連接內容
??????</html:link>
<html:link?href="完整的url路徑">
????????連接內容
??????</html:link>
<html:link?page="相對于當前操作路徑的url">
????????連接內容
??????</html:link>
<html:link?forward="struts配置文件中存在的<global-forwards>元素的子元素<forwar>的name值">
????????連接內容
??????</html:link>
<!--######################################################################-->
<html:img?page="相對于當前操作路徑的url"?/>
<!--######################################################################-->
<html:img?src="完整的uri路徑"
??paramId="參數名"
??paramName="page|request|response|session中存在的屬性名"/>
<!--######################################################################-->
<html:form
??action="xxx.do"
??focus="焦點"
??method="GET|POST|DELETE|PUT|HEAD|OPTIONS"?>
<!--######################################################################-->
??<!--?單行輸入框?-->
??<html:text?property="prptName">初始值</html:text>
<!--######################################################################-->
??<!--?隱藏字段?-->
??<html:hidden?property="prptName"?/>
<!--######################################################################-->
??<!--?密碼輸入框?-->
??<html:?password?property="prptName"></html:?password>
<!--######################################################################-->
??<!--?文件獲取輸入框?-->
??<html:file?property="prptName">初始值</html:file>
<!--######################################################################-->
??<!--?按鈕?-->
??<html:button?property="prptName">初始值</html:button>
<!--######################################################################-->
??<!--?提交按鈕?-->
??<html:submit?property="prptName">初始值</html:submit>
<!--######################################################################-->
??<!--?取消按鈕?-->
??<html:cancel?property="prptName">初始值</html:cancel>
<!--######################################################################-->
??<!--?重置按鈕?-->
??<html:reset?property="prptName">初始值</html:reset>
<!--######################################################################-->
??<!--?圖片按鈕?-->
??<html:image?onclick=""?src="url"?>初始值</html:image>
<!--######################################################################-->
??<!--?復選框?-->
??<html:checkbox?property="prptName">初始值</html:checkbox>
<!--######################################################################-->
??<!--多選框的表達方式一-->
??<html:multibox?property="屬性名"?value="初始值"/>
<!--######################################################################-->
??<!--多選框的表達方式二-->
??<html:multibox?property="屬性名">初始值</html:multibox>
<!--######################################################################-->
??<!--?選擇列表?-->
??<html:select
????property="prptName"
????size="指定在網頁上顯示的可選的數目"
????multiple="true|false,此屬性用于指定列表是否允許多選">
<!--######################################################################-->
????<html:option
??????value="綁定的屬性名"
??????bundle="系統文件中綁定的屬性名"
??????key="資源文件中綁定的屬性"?>lable</html:option>
<!--######################################################################-->
????<html:options
??????collection="Vector對象,此對象中放置org.apache.struts.util.LabelValueBean對象"
??????property="網頁中的value值其值一般是value"
??????labelProperty="網頁中顯示的標簽,其值一般是lable"/>
<!--######################################################################-->
????<html:optionsCollection
??????name="page|request|response|session中存在的屬性名稱"
??????property="屬性對象中的成員變量"
??????label="成員變量中的成員變量"
??????value="成員變量中的成員變量"?/>
??</html:select>
</html:form>
struts標簽logic
<!--#################################################################-->
<!--?<logic:equal>和<logic:notEqual>判斷變量的值與指定常量是否相等?-->
<logic:equal
??name="request,page,response,session中存在的以此名稱命名的變量"
??property="此變量中的成員變量"
??parameter="將要取得的變量的標識符,此變量存在于request|page|response|session中"
??scope="取得變量的范圍?request|page|response|session"
??value="?參加比對的值?">
??若判斷成立,則輸出此處的內容!
??</logic:equal>
<!--=====================================================================-->
<logic:notEqual
??name="request,page,response,session中存在的以此名稱命名的變量"
??property="此變量中的成員變量"
??parameter="將要取得的變量的標識符,此變量存在于request|page|response|session中"
??scope="取得變量的范圍?request|page|response|session"
??value="?參加比對的值?">
??若判斷成立,則輸出此處的內容!
??</logic:notEqual>
<!--#################################################################-->
<logic:iterate
??id="唯一標識符"
??name="在request|response|session|page中的標識符"
??property="若是自定義類對象,此處用語表示此對象中的屬性名"
??type="取得的對象的權限定類名"
??indexId="indexid"
??offset="起始位置"
??length="循環的長度">
??<li><em><bean:write?name="與logic:iterate的屬性id的內容一致"?/></em> [<bean:write?name="index"/>]</li>
</logic:iterate>
<!--#################################################################-->
<!--<logic:empty>與<logic:notEmpty>用于判斷指定參數的屬性值是否是null值或是空字符串""-->
<!--判斷scope中存在的指定參數名的變量值是否是null值或是空字符串,若是null或空字符串則輸出標簽之間的內容-->
<logic:empty
??name="對象的唯一標識符"
??scope="page|request|response|session"
??property="對象中存在的成員變量">
empty
</logic:empty>
<!--判斷scope中存在的指定參數名的變量值是否不是null值或是空字符串,若不是null或空字符串則輸出標簽之間的內容-->
<logic:notEmpty
??name="對象的唯一標識符"
??scope="page|request|response|session"
??property="對象中存在的成員變量">
notEmpty
</logic:notEmpty>
<!--#################################################################-->
<!--<logic:?present>與<logic:notPresent>用于判斷指定參數的屬性是否存在-->
<!--判斷cookie中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??cookie="cookie中存在的變量名">
??此處是輸出內容!
??</logic:?present>
<!--判斷header中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??header="取得頭部元素中存在的變量">
??此處是輸出內容!
??</logic:?present>
<!--判斷scope中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??name="屬性名"
??property="對象中存在的成員變量"
??scope="page|request|response|session">
??此處是輸出內容!
??</logic:?present>
<!--=================================================================-->
<!--判斷cookie中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??cookie="cookie中可能存在的變量名">
??此處是輸出內容!
??</logic:notPresent>
<!--判斷header中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??header="頭部元素中存在的變量">
??此處是輸出內容!
??</logic:notPresent>
<!--判斷scope中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??name="屬性名"
??property="對象中可能存在的成員變量"
??scope="page|request|response|session">
??此處是輸出內容!
??</logic:notPresent>
<!--#################################################################-->
<!--<logic:match>與<logic:notMatch>用于判斷指定參數的字符串是否區配某個給定標準-->
<!--判斷cookie中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??cookie="cookie中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--判斷header中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??header="header中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--判斷scope中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??name="存在的屬性名"
??property="屬性對象中的成員變量"
??scope="page|request|response|session"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--===================================================================-->
<!--判斷cookie中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??cookie="cookie中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--判斷header中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??header="header中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--判斷scope中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??name="存在的屬性名"
??property="屬性對象中的成員變量"
??scope="page|request|response|session"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--#################################################################-->
<!--<logic:forward>用于地址轉向到指定位置-->
<logic:forward?name="與系統配置文件中的<global-forward>元素中的子元素<forward>區配"/>
<!--#################################################################-->
<!--?<logic:redirect>用于地址重定向到指定位置?-->
<logic:redirect
??anchor=""
??forward=""
??href=""
??name=""
??page=""
??paramId=""
??paramName=""
??paramProperty=""
??paramScope=""
??property=""
??scope=""
??transaction="">連接內容</logic:redirect>
<!--?<logic:equal>和<logic:notEqual>判斷變量的值與指定常量是否相等?-->
<logic:equal
??name="request,page,response,session中存在的以此名稱命名的變量"
??property="此變量中的成員變量"
??parameter="將要取得的變量的標識符,此變量存在于request|page|response|session中"
??scope="取得變量的范圍?request|page|response|session"
??value="?參加比對的值?">
??若判斷成立,則輸出此處的內容!
??</logic:equal>
<!--=====================================================================-->
<logic:notEqual
??name="request,page,response,session中存在的以此名稱命名的變量"
??property="此變量中的成員變量"
??parameter="將要取得的變量的標識符,此變量存在于request|page|response|session中"
??scope="取得變量的范圍?request|page|response|session"
??value="?參加比對的值?">
??若判斷成立,則輸出此處的內容!
??</logic:notEqual>
<!--#################################################################-->
<logic:iterate
??id="唯一標識符"
??name="在request|response|session|page中的標識符"
??property="若是自定義類對象,此處用語表示此對象中的屬性名"
??type="取得的對象的權限定類名"
??indexId="indexid"
??offset="起始位置"
??length="循環的長度">
??<li><em><bean:write?name="與logic:iterate的屬性id的內容一致"?/></em> [<bean:write?name="index"/>]</li>
</logic:iterate>
<!--#################################################################-->
<!--<logic:empty>與<logic:notEmpty>用于判斷指定參數的屬性值是否是null值或是空字符串""-->
<!--判斷scope中存在的指定參數名的變量值是否是null值或是空字符串,若是null或空字符串則輸出標簽之間的內容-->
<logic:empty
??name="對象的唯一標識符"
??scope="page|request|response|session"
??property="對象中存在的成員變量">
empty
</logic:empty>
<!--判斷scope中存在的指定參數名的變量值是否不是null值或是空字符串,若不是null或空字符串則輸出標簽之間的內容-->
<logic:notEmpty
??name="對象的唯一標識符"
??scope="page|request|response|session"
??property="對象中存在的成員變量">
notEmpty
</logic:notEmpty>
<!--#################################################################-->
<!--<logic:?present>與<logic:notPresent>用于判斷指定參數的屬性是否存在-->
<!--判斷cookie中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??cookie="cookie中存在的變量名">
??此處是輸出內容!
??</logic:?present>
<!--判斷header中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??header="取得頭部元素中存在的變量">
??此處是輸出內容!
??</logic:?present>
<!--判斷scope中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:?present
??name="屬性名"
??property="對象中存在的成員變量"
??scope="page|request|response|session">
??此處是輸出內容!
??</logic:?present>
<!--=================================================================-->
<!--判斷cookie中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??cookie="cookie中可能存在的變量名">
??此處是輸出內容!
??</logic:notPresent>
<!--判斷header中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??header="頭部元素中存在的變量">
??此處是輸出內容!
??</logic:notPresent>
<!--判斷scope中是否存在指定參數名的變量若存在則輸出標簽之間的內容-->
<logic:notPresent
??name="屬性名"
??property="對象中可能存在的成員變量"
??scope="page|request|response|session">
??此處是輸出內容!
??</logic:notPresent>
<!--#################################################################-->
<!--<logic:match>與<logic:notMatch>用于判斷指定參數的字符串是否區配某個給定標準-->
<!--判斷cookie中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??cookie="cookie中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--判斷header中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??header="header中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--判斷scope中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:match
??name="存在的屬性名"
??property="屬性對象中的成員變量"
??scope="page|request|response|session"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:match>
<!--===================================================================-->
<!--判斷cookie中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??cookie="cookie中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--判斷header中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??header="header中可能存在的變量名"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--判斷scope中存在指定參數名的變量的值,是否與指定的字符格式區配若區配則輸出此內容-->
<logic:notMatch
??name="存在的屬性名"
??property="屬性對象中的成員變量"
??scope="page|request|response|session"
??location="contains|start|end"
??value="要區配的字符格式">
</logic:notMatch>
<!--#################################################################-->
<!--<logic:forward>用于地址轉向到指定位置-->
<logic:forward?name="與系統配置文件中的<global-forward>元素中的子元素<forward>區配"/>
<!--#################################################################-->
<!--?<logic:redirect>用于地址重定向到指定位置?-->
<logic:redirect
??anchor=""
??forward=""
??href=""
??name=""
??page=""
??paramId=""
??paramName=""
??paramProperty=""
??paramScope=""
??property=""
??scope=""
??transaction="">連接內容</logic:redirect>