SPRING配置文件中可以用CLASSPATH:fileName定位文件

如:

<property name="configLocation">

     <value>classpath:SqlMapConfig.xml</value>

 

</property>

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.