overview
Spring Expression (Spring EL) is a powerful expression language with #{expression} as a delimiter for accessing and manipulating objects at runtime. Simplify development and reduce logic or configuration writing by using Spring expressions.
use
Spring EL can mainly refer to beans, call their properties and methods, and also use the value attribute in the bean tag instead of the ref attribute; at the same time, it supports arithmetic operators, comparison operators, logical operators, ternary operators, and regular expressions formula etc.
Simple example:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=