Using Spring 3.0.x for a web application, is it possible to get/read a placeholder value from a JSP page?
I found two solutions, but they are not elegant:
- store the value in a bean and read it with spring:eval tag / SpEL (see post #9 here)
- use a bean to inject the value into the servlet context (see here)
Is there a better simpler way? What I aim at is:
PS: Hmm, if PropertyPlaceholderConfigurer would implement the FactoryBean<Properties> interface it would be much simpler for me...