<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
<html>
<head>
<title>EL Expression Examples</title>
</head>
<body>
<h1>EL Expression Examples</h1>
<h2>Logical Operators</h2>
<h2>Comparison Operators</h2>
4 > '3'
<c:out value="${4 > '3'}"/>
<br/>
'4' > 3
<c:out value="${'4' > 3}"/>
<br/>
'4' > '3'
<c:out value="${'4' > '3'}"/>
<br/>
4 >= 3
<c:out value="${4 >= 3}"/>
<br/>
4 <= 3
<c:out value="${4 < 3}"/>
<br/>
4 == '4'
<c:out value="${4 == 4}"/>
<br/>
</body>
</html>
|