logic-compare-numeric.jsp
来自「Spring +Web 的完整 MyEclipse 项目源码,使用者可以作为入门」· JSP 代码 · 共 520 行 · 第 1/2 页
JSP
520 行
<td><bean:write name="bean" property="intProperty"/></td>
<td><%= long2 %></td>
<td>greaterEqual greaterThan notEqual</td>
<td>
<logic:equal name="bean" property="intProperty"
value="<%= long2 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="intProperty"
value="<%= long2 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="intProperty"
value="<%= long2 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="intProperty"
value="<%= long2 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="intProperty"
value="<%= long2 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="intProperty"
value="<%= long2 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>int / LT</td>
<td><bean:write name="bean" property="intProperty"/></td>
<td><%= long3 %></td>
<td>lessEqual lessThan notEqual</td>
<td>
<logic:equal name="bean" property="intProperty"
value="<%= long3 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="intProperty"
value="<%= long3 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="intProperty"
value="<%= long3 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="intProperty"
value="<%= long3 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="intProperty"
value="<%= long3 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="intProperty"
value="<%= long3 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>long / EQ</td>
<td><bean:write name="bean" property="longProperty"/></td>
<td><%= long1 %></td>
<td>equal greaterEqual lessEqual</td>
<td>
<logic:equal name="bean" property="longProperty"
value="<%= long1 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="longProperty"
value="<%= long1 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="longProperty"
value="<%= long1 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="longProperty"
value="<%= long1 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="longProperty"
value="<%= long1 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="longProperty"
value="<%= long1 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>long / GT</td>
<td><bean:write name="bean" property="longProperty"/></td>
<td><%= long2 %></td>
<td>greaterEqual greaterThan notEqual</td>
<td>
<logic:equal name="bean" property="longProperty"
value="<%= long2 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="longProperty"
value="<%= long2 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="longProperty"
value="<%= long2 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="longProperty"
value="<%= long2 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="longProperty"
value="<%= long2 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="longProperty"
value="<%= long2 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>long / LT</td>
<td><bean:write name="bean" property="longProperty"/></td>
<td><%= long3 %></td>
<td>lessEqual lessThan notEqual</td>
<td>
<logic:equal name="bean" property="longProperty"
value="<%= long3 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="longProperty"
value="<%= long3 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="longProperty"
value="<%= long3 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="longProperty"
value="<%= long3 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="longProperty"
value="<%= long3 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="longProperty"
value="<%= long3 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>short / EQ</td>
<td><bean:write name="bean" property="shortProperty"/></td>
<td><%= short1 %></td>
<td>equal greaterEqual lessEqual</td>
<td>
<logic:equal name="bean" property="shortProperty"
value="<%= short1 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="shortProperty"
value="<%= short1 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="shortProperty"
value="<%= short1 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="shortProperty"
value="<%= short1 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="shortProperty"
value="<%= short1 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="shortProperty"
value="<%= short1 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>short / GT</td>
<td><bean:write name="bean" property="shortProperty"/></td>
<td><%= short2 %></td>
<td>greaterEqual greaterThan notEqual</td>
<td>
<logic:equal name="bean" property="shortProperty"
value="<%= short2 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="shortProperty"
value="<%= short2 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="shortProperty"
value="<%= short2 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="shortProperty"
value="<%= short2 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="shortProperty"
value="<%= short2 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="shortProperty"
value="<%= short2 %>">
notEqual
</logic:notEqual>
</td>
</tr>
<tr>
<td>short / LT</td>
<td><bean:write name="bean" property="shortProperty"/></td>
<td><%= short3 %></td>
<td>lessEqual lessThan notEqual</td>
<td>
<logic:equal name="bean" property="shortProperty"
value="<%= short3 %>">
equal
</logic:equal>
<logic:greaterEqual name="bean" property="shortProperty"
value="<%= short3 %>">
greaterEqual
</logic:greaterEqual>
<logic:greaterThan name="bean" property="shortProperty"
value="<%= short3 %>">
greaterThan
</logic:greaterThan>
<logic:lessEqual name="bean" property="shortProperty"
value="<%= short3 %>">
lessEqual
</logic:lessEqual>
<logic:lessThan name="bean" property="shortProperty"
value="<%= short3 %>">
lessThan
</logic:lessThan>
<logic:notEqual name="bean" property="shortProperty"
value="<%= short3 %>">
notEqual
</logic:notEqual>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?