Please use [ code][/code ] tags when posting code....
I would create some configuration object in your applicationContext which holds the properties. Then create a HandlerInterceptor which always adds that configuration object to the request attributes so that it is accessible in the jsp.
Code:
public class ConfigurationAddingHandlerInterceptor extends HandlerInterceptorAdapter {
private Configuration configuration;
public void postHandle(HttpServletRequest request, HttpServletResponse response, Object handler, ModelAndView modelAndView) {
modelAndView.addObject("configuration", configuration);
}
}
Code:
<c:if test="${configuration.foo}">
//something here
</c:if>