Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
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.