How to add some Spring attributes when the application starts

Posted by user198147 on Stack Overflow See other posts from Stack Overflow or by user198147
Published on 2011-06-30T03:52:14Z Indexed on 2011/06/30 8:22 UTC
Read the original article Hit count: 198

I am new to Spring framework and I am working on a web application that must be multilanguage.

The tanslated values are in the database and I don't want that each time I am rendering a view to pick the values from the database.

The idea is to get them somewhere from the application. So, I want to load this values when my application starts and I don't know where exactly and where to put them.

Thank you for your help!

© Stack Overflow or respective owner

Related posts about spring

Related posts about spring-mvc