${...} 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.
-
-
Save sffej/cc99915411ded5a319f9e182a5b31c05 to your computer and use it in GitHub Desktop.
memo: What is different ${...} and #{...} on spring
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment