Oct 13th, 2010, 06:13 AM
Reading values stored in properties file from JSP
Is there a standard Spring webmvc mechanism to read from a properties file in JSP pages? I'm happy to do this in a controller and pass the values as part of the model. But then I have to deal with the following:
- cache properties
- poll file for changes (this isn't so important for me)
Basically I have properties files for various environments my app runs in (dev, production, sandbox, etc). Wondering if there's a standard Spring way to deal with this.
Tags for this Thread