SPRING CORE / CATATAN</>↗Spring Core27 Feb 2014
In the previous example, How do I access collections members using Spring EL?, you have seen how to access a member of a collection using Spring EL square-braces [] operator. In this post you will learn how to use the same operator to access an element of a Map object. For demonstration, we will use […]
SPRING CORE / CATATAN</>↗Spring Core26 Feb 2014
In this post you will see another powerful examples of Spring EL. We are going to demonstrate how to use Spring EL to access collection members. By using Spring EL you can select a single reference member of a collection. You can also select members of collection based on the values of their properties. Another […]
SPRING CORE / CATATAN</>↗Spring Core24 Feb 2014
In this Spring Expression Language example we are going to learn how to use regular expression or regex to check if a text matches a certain pattern. Spring EL support regular expression using the matches operator. The matches operator will check if the value has a pattern defined by the regex string, and it returns […]
SPRING CORE / CATATAN</>↗Spring Core23 Feb 2014
In this example you will learn how to use ternary operator in Spring Expression Language. The ternary operator will evaluate a Spring EL to one value if a condition is true and to another value if the condition is false. Ternary operator is written using the ?: symbols, just as what you do in Java. […]
SPRING CORE / CATATAN</>↗Spring Core23 Feb 2014
In the previous example you have learnt How do I compare values in Spring EL?. Where you saw how to compare two simple values for equality, less-than or greater-than, etc. In practice, you might need to combine one or more of this comparison into a more complex logical expressions. Spring EL also provides several operators […]
SPRING CORE / CATATAN</>↗Spring Core22 Feb 2014
In Spring EL you can compare two values to know if they are equals, is greater or smaller than the other value. For these kinds of comparison, below are the list of operators supported by Spring EL, as expected it supports the same operators as in the Java programming language. The Spring Expression Language comparison […]