2012-01-04 104 views

回答

11

是的,使用<util:properties>(见documentation)。

例子:

<!-- creates a java.util.Properties instance with values loaded from the supplied location --> 
<util:properties id="jdbcConfiguration" location="classpath:com/foo/jdbc-production.properties"/> 
+0

+1:帮我解决一个问题今天谢谢。 – nattyddubbs 2013-04-26 13:55:00