First, El syntax and use
EL (Expression Language) is designed to make jsps easier to write.
1. Grammatical structure
${the Name property value of the domain object}
2, the Value method
Take value from small to large: page, request, session, application
If it is found, it will continue to look up if it is not found, and if it is not found, an empty string is displayed application
You can set the corresponding domain range (pagescope, Requestscope, Sessionscope, applicationscope) If you need to take a value that is scoped to the specified domain
3. Attention
The EL expression generally operates only on domain objects and cannot manipulate variables.
Second, El get parameters
Third, el-entity class
Iv. el-list Container
V. Collection of El-map
Vi.. El operation
1, two non-existent domain objects (numeric type) added, with a value of 0
2, a existence (numeric type), a non-existent sum, the value of the existence of the
3, non-numeric type of string addition, will be error
Jsp-el-expression