> How would I create an ApplicationResources.properties? > Ideally I'd like to have a properties file that had > > server.1=www.bla.com > server.2=www2.bla.com > etc > > Then read them into an array of appropriate objects, then > loop through the objects, attempting to connect to each one in turn
You'd do exactly that: create a file named "ApplicationResources.properties", and put it in the "classes" directory right under "WEB-INF". In your "Action" class, you'd do something like this: ResourceBundle res = ResourceBundle.getBundle("ApplicationResources"); String server1 = res.getString("server.1"); etc, etc, to read the values. -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]