Hi,
I am learning JSP now. The following program doesn't work in my Linux system's Mozilla firefox. Any help to fix this problem is appreciated.
<html>
<title>Using JSP EL Operators</title>
<body>
<h2> Using JSP EL Operators</h2>
<table border ="2">
<tr> <td> 13 + 2 = ${13 + 2} </td> </tr>
<tr> <td> 13 - 2 = ${13 - 2} </td> </tr>
<tr> <td> 13 * 2 = ${13 * 2} </td> </tr>
<tr> <td> 13 / 2 = ${13 / 2} </td> </tr>
<tr> <td> 13 % 2 = ${13 % 2} </td></tr>
<tr> <td></td> </tr>
<tr> <td> 13.24 + 2 = ${13.24 + 2} </td> </tr>
<tr> <td> 13.24 - 2 = ${13.24 - 2} </td> </tr>
<tr> <td> 13.24 * 2 = ${13.24 * 2} </td> </tr>
<tr> <td> 13.24 / 2 = ${13.24 / 2} </td> </tr>
<tr> <td></td> </tr>
<tr> <td> true and false = ${true && false} </td></tr>
<tr> <td> true or false = ${true || false} </td></tr>
<tr> <td> not false = ${! false} </td></tr>
</tr>
</table>
</body>
</html>
Here expressions like ${13+2}, ${true && false} etc. are not evaluated, but displayed as given in code.