OK, my bad, I meant out of the applicationContext.xml I basically want to be able to tell someone to deploy a war file, edit a file outside of the "webroot" that has the settings in it, and startup tomcat.
Then, my app would load that properties file and make the connection. -----Original Message----- From: Dave Newton [mailto:newton.d...@yahoo.com] Sent: Thursday, March 12, 2009 2:40 PM To: Struts Users Mailing List Subject: Re: Convention for keeping passwords out of struts.xml Security Management wrote: > What's the convention for keeping database settings out of struts.xml? Hmm, I guess I never even considered putting them in there. JNDI, Spring, and property files are the obvious choices, most DB technologies support creating a datasource in their own config as well. Dave --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org