PDA

View Full Version : Set property values at runtime?



rhasselbaum
Oct 8th, 2004, 01:19 PM
Newbie question: Is there any way to use runtime properties when setting up the Spring configuration file? At a minimum, I'd like to be able to pass in a value on the command line and have it be passed to a bean.

Thanks.

irbouho
Oct 8th, 2004, 01:28 PM
I think that this has already been discussed in this thread OS Environment variables for Property Placeholders (http://forum.springframework.org/showthread.php?t=9591)

HTH