The Spring Expression Language (“SpEL”) is an expression language that supports querying and manipulating an object graph at runtime. In this post we'll see examples of using SpEL with both XML and annotation based configuration . The expression language supports the following functionality: Literal expressions Boolean, relational and mathematical operators Regular expressions Class expressions Accessing properties, arrays, lists, and maps Method invocation Assignment Calling constructors Bean references Inline lists Inline maps Ternary operator Table of contents SpEL expressions in Bean Definitions SpEL Relational operators SpEL Logical operators SpEL Mathematical operators SpEL Bean reference and Method invocation example Using SpEL Safe Navigation Operator (?.) SpEL Ternary and Elvis operators SpEL with regular expression SpEL expressions in Bean Definitions Syntax to define the expressio
Java, Spring, Web development tutorials with examples