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
http://tomcat.apache.org/tomcat-5.5-doc/index.html
<http://tomcat.apache.org/tomcat-5.5-doc/index.html>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.

Dave


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

Reply via email to