码迷,mamicode.com
首页 > 编程语言 > 详细

SPEL (Spring Expression Language)

时间:2016-10-02 17:21:19      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!