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 evaluated, #root always refers to the root.
I have gone through the documentation, but I still don't understand what #root
means (there is no example). Can someone please give me an example?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With