About 5,230,000 results
Open links in new tab
  1. Spring Expression Language (SpEL) with @Value: dollar vs. hash

    Mar 16, 2011 · From the Spring docu: "The Spring Expression Language (SpEL for short) is a powerful expression language that supports querying and manipulating an object graph at …

  2. java - #root and #this in SpEL - Stack Overflow

    In Spring 3 SpEL, #this and #root were introduced. The variable #root is always defined and refers to the root context object. Although #this may vary as components of an expression are evalu...

  3. Invoke method using spring SPEL with property - Stack Overflow

    Feb 23, 2021 · Invoke method using spring SPEL with property Asked 4 years, 8 months ago Modified 3 years, 6 months ago Viewed 16k times

  4. How concatenate two string in Spring Expression Language (SpEL)

    Jun 19, 2014 · How concatenate two string in Spring Expression Language (SpEL) Asked 11 years, 5 months ago Modified 1 year, 9 months ago Viewed 31k times

  5. java - Compare Enums in SpEL - Stack Overflow

    Feb 16, 2014 · At Spring's @Cacheable annotation I want to specify an unless condition. However my return value is neither a primitive type nor a Java bean, but an Enum. How can I compare …

  6. Spring Expression Language (SpEL): check empty string?

    Jun 10, 2019 · What is a canonical way to check if the String is null or empty using SpEL? I would like to achieve the same result as Strings.isNullOrEmpty(myString) from Guava does. My …

  7. @Cacheable key on multiple method arguments - Stack Overflow

    Dec 28, 2012 · Update: Current Spring cache implementation uses all method parameters as the cache key if not specified otherwise. If you want to use selected keys, refer to Arjan's answer …

  8. How to reference a bean by type in a SpEL? - Stack Overflow

    Jan 16, 2020 · I was just answering from the SpEL perspective that to reference a @Bean whose name is created from a class name (such as with @Component), it's name has a lower case …

  9. SpelParseException: After parsing a valid expression, there is still ...

    Apr 8, 2018 · However, I keep getting: Caused by: org.springframework.expression.spel.SpelParseException: EL1041E: After parsing a valid …

  10. Spring expression language (SpEL): parse String to int

    May 16, 2012 · I've got a (String, obviously) property expressed in minutes that I want to convert to an int before I do some arithmetic and inject it into my Spring bean. Right now I have this …