struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Convention for keeping passwords out of struts.xml
Date Thu, 12 Mar 2009 18:56:48 GMT
Jim Kiley wrote:
> Dave's right -- a good choice here is to keep that kind of data in a server
> settings config file, and set up your application to pull the database
> context info out of the JNDI context.  Check out
> <>for
> details on this sort of thing.

I'm with Jim. But that aside you can also use Spring's 
property-placeholder (or whatever it's called) to keep passwords in a 
property file, the values of which are then referenced inside the Spring 
config file.

This seems more like a Spring-ish topic, though.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message