struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j h <jhins...@ic.ac.uk>
Subject application configuration
Date Thu, 08 Jul 2004 11:22:34 GMT
If there are specific properties that need to be configured on deployment, 
where should these be put? you could put these in the application.properties 
file and read these in from an Action class every time they are needed:
MessageResources mr = getResources(request);
String config = mr.getMessage("configuration.detail");

This seems inefficient. Is there a way to read these into some global 
variables?




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message