Can Thymeleaf access the Spring servletContext?
问题 I wonder if anyone can help. We are in the process of converting a Spring Webflow 2 application from using a jsp based view layer, to a Thymeleaf based view. For this most part this is OK, but now I'm struggling to get Thymeleaf to access an object that we've put in the servletContext . So, we have an object that is put in the servletContext as part of a bean (implementing ServletContextAware and InitializingBean ) For the sake of simplicity, lets say it is a string: public class