If you want to make those parameters available to all jsp files and controllers you can create an interceptor.
public class ParametersInterceptor extends HandlerInterceptorAdapter {
Object parameters = null;
public void loadParameters(){
parameters = //Read from database or properties file.
}
public boolean preHandle(HttpServletRequest request,
HttpServletResponse response, Object handler) throws Exception {
request.setAttribute("parameters", parameters);
return true;
}
}
Then define your interceptor as a bean.
<bean name="parametersInterceptor"
class="com.zzz.zzz.ParametersInterceptor"
init-method="loadParameters" >
</bean>
Then in your urlMappping bean you can add this to tell spring that you want a list of interceptors to be executed for the defined mappings.
<property name="interceptors">
<list>
<ref bean="parametersInterceptor" />
</list>
</property>
Here is an example using interceptors