#set( $symbol_pound = '#' ) #set( $symbol_dollar = '$' ) #set( $symbol_escape = '\' )
The injected method just said: ${symbol_dollar}{greeting}
Doesn't sound cool? Well. Ok - true. But it demonstrates that injection on controllers is working fine. And that in turn is really cool if you want to get maintainable applications with injected services :)