I have defined in applicationContext.xml
I'd now like to directly access the properties loaded in a JSP.HTML Code:<util:properties id="myProperties" location="classpath:myProps.properties"></util:properties>
Note: I don't want them to be set using @Value in a DTO/Form.
For Ex., in my JSP I'll write
The problem is the property value is not shown in the JSP because it is not accessible. Am I missing something here?HTML Code:<a href="${myProperties['WEB_CLIENT_URL']}" target="_blank">test </a>
I saw another blog
http://j2eecookbook.blogspot.com/200...ia-spring.html
Since that blog was written in 2007, I expected this feature to be in Spring 3.0.x.


Reply With Quote
