Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

spring value # vs $

${...} is the property placeholder syntax. It can only be used to dereference properties.

#{...} is SpEL syntax, which is far more capable and complex. It can also handle property placeholders, and a lot more besides.

Both are valid, and neither is deprecated.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #spring
ADD COMMENT
Topic
Name
1+2 =