spring配置
<util:properties id="propertyConfigurer" location="classpath:yourPropertyFileClasspathHere "/><context:property-placeholder properties-ref="propertyConfigurer" />
jsp
<spring:eval expression="@propertyConfigurer.getProperty('propertyNameHere')" />
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)