servletjsp一些应用程序
源代码在线查看: operators.htm
EL Operators
HREF="/el/JSP-Styles.css"
TYPE="text/css">
EL Operators
Arithmetic Operators
Relational Operators
ExpressionResultExpressionResult
\${3+2-1}${3+2-1}
\${1<2}${1
\${"1"+2}${"1"+2}
\${"a"<"b"}${"a"
\${1 + 2*3 + 3/4}${1 + 2*3 + 3/4}
\${2/3 >= 3/2}${2/3 >= 3/2} = --%>
\${3%2}${3%2}
\${3/4 == 0.75}${3/4 == 0.75}
\${(8 div 2) mod 3}${(8 div 2) mod 3}
\${null == "test"}${null == "test"}
Logical Operators
empty Operator
ExpressionResultExpressionResult
\${(1<2) && (4<3)}${(1 \${empty ""}${empty ""}
\${(1<2) || (4<3)}${(1 \${empty null}${empty null}
\${!(1<2)}${!(1
\${empty param.blah}${empty param.blah}