标签:
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

SPEL (Spring Expression Language)
标签:
原文地址:http://www.cnblogs.com/funnybear/p/5918324.html