This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.
No announcement yet.
programatically looking up a i18n value from messageSourcePage Title Module
I figured out how to do this. Incase anyone else is interested, here's how I did it.
Basically add the bean property 'requestContextAttribute' on the InternalResourceViewResolver as below. 'requestContextAttribute' is of type org.springframework.web.servlet.support.RequestCon text and is made available as a request attribute ("rc", in this case) to the view and has convenience methods to look up messages from the configured messageSource.