SPEL (Spring Expression Language)
SPEL can be used in both xml and annotation. So here are some operators can't be used in SPEL in the same way as Java.
Such as, ">" "<", because they will cause ambiguities when parsing xml. Below are some examples:
1. SPEL in xml

2. SPEL in annotation

3. new in SPEL

4. Use static fields in SPEL

5. Calculation and logic checking in SPEL


浙公网安备 33010602011771号