1.

What are JSP Operators?

Answer»

JSP Operators support most of the arithmetic and logical operators that are supported by java within expression language (EL) tags.

Following are the frequently used jsp operators:

.Access a bean property or MAP entry.
[]Access an ARRAY or List element.
()Group a subexpression to change the evaluation order.
+Addition
-Subtraction or negation of a value
*Multiplication
/ or divDivision
% or modModulo (remainder)
== or eqTest for equality
!= or neTest for inequality
< or ltTest for LESS than
> or gtTest for GREATER than
<= or leTest for less than or equal
>= or geTest for greater than or equal
&& or andTest for logical AND
|| or orTest for logical OR
! or notUnary Boolean complement
EmptyTest for empty variable VALUES


Discussion

No Comment Found