I'm having a look at http://static.springsource.org/sprin...atic-resources
and I'd like to know how, in a pure Spring Java based configuration I can inject the Environment object, wrapping all my properties, in order to be able to use a property in the JSP.
If I take the exact same example as in the documentation, I want something like :
where 'env' is already defined as :
<spring:eval expression="@env['application.version']" var="applicationVersion"/>
How can I let env to be visible and resolved by spring:eval ?
@Inject Environment env;