%@ page import="java.util.*" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/ea/core" %>
JSTL: EcmaScript EL Support -- Assignment Operator Example
Assignment Operators
The Assignment operator has right to left associativity. Each assignment expression has a value that is the value of the right hand side
Here are some examples:
<% request.setAttribute("a", new Integer(4)); %>
<% request.setAttribute("b", new Integer(7)); %>
<% request.setAttribute("c", new Integer(0)); %>
Operator: =
Operator: a = b == c
Operator: +=
Operator: -=
Operator: *=
Operator: /=
Operator: %=
Operator: <<=
Operator: >>=
Operator: >>>=
Operator: &=
Operator: |=
Operator: ^=