About 12,800,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. 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 …

  4. SpEL: How to check if variable matches any element from list?

    Dec 1, 2020 · SpEL is fully based on Java, so whatever you can do with Collection is available in SpEL, too. So, I would implement your request as: {1,2,3}.contains(#id) Having list of desired …

  5. What are some valid uses for spEL (Spring Expression Language)

    By using SpEL, the customers only need to write expressions in some properties file and the framework code takes care of extracting the new data. All the use-cases of Java reflection are …

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

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

  7. How to customize the SpEL parser in Spring? - Stack Overflow

    Sep 23, 2014 · When using SpEL programmatically, you can inject a StandardTypeLocator into the evaluation context, after adding your packages to the StandardTypeLocator using …

  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. 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 …

  10. java - SpelEvaluationException: EL1005E: Type cannot be found in ...

    Dec 14, 2023 · Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1005E: Type cannot be found 'co.lib.util.FaceUtils' at org.springframework.expression.spel ...