- Mastering JavaServer Faces 2.2
- Anghel Leonard
- 179字
- 2021-12-08 12:41:26
EL syntax
In this section, you can see an overview of the main aspects of EL 2.2 and 3.0 syntax. EL supports a handful of operators and reserved words. Each of these are quickly described in the following section (more details are in the EL specification document (http://download.oracle.com/otndocs/jcp/el-3_0-fr-eval-spec/index.html)).
EL operators
EL supports the following categories of operators—arithmetic, relational, logical, conditional, empty and added starting with EL 3.0, string concatenation, assignment and semicolon operators:

EL precedence of operators
Conforming to EL specification, the precedence of operators from the highest to lowest, left to right is as follows:
[].
()
(used to change the precedence of operators)-
(unary)not ! empty
* / div % mod
+
-
(binary)+=
< > <= >= lt gt le ge
== != eq ne
&& and
|| or
?
:
->
(lambda expression)=
;
EL reserved words
EL defines the following reserved words:
and
,or
,not
,eq
,ne
,lt
,gt
,le
,ge
,true
(Boolean literal),false
(Boolean literal),null
,instanceof
(a Java keyword to do a class comparison between objects),empty
,div
, andmod
推薦閱讀
- Learning SQL Server Reporting Services 2012
- 電腦常見問題與故障排除
- 深入淺出SSD:固態存儲核心技術、原理與實戰
- 數字邏輯(第3版)
- Mastering Manga Studio 5
- 電腦維護365問
- Hands-On Machine Learning with C#
- Practical Machine Learning with R
- OpenGL Game Development By Example
- Istio服務網格技術解析與實踐
- 3D Printing Blueprints
- Mastering Machine Learning on AWS
- FPGA實驗實訓教程
- 可編程邏輯器件項目開發設計
- 微服務實戰(Dubbox +Spring Boot+Docker)