Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
Tags
- profile
- JavaScript
- Windows
- bash
- GIT
- 단축키
- Eclipse
- Quartz
- vscode
- IntelliJ
- web.xml
- find
- 줄바꿈 문자
- maVen
- plugin
- import
- Windows 10
- grep
- tomcat
- Mac
- port
- context
- lsof
- VirtualBox
- ssh
- resource
- 네트워크
- Source
- xargs
- netsh
Archives
- Today
- Total
develog
applicationContext.xml, sqlMapConfig, configLocation (classpath or file) 본문
Dev/Java
applicationContext.xml, sqlMapConfig, configLocation (classpath or file)
냐옴 2013. 12. 9. 15:58<!-- sqlMapClient, configLocation, classpath -->
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
<property name="configLocation" value="classpath:sqlMap-config.xml" />
<property name="dataSource" ref="dataSource" />
</bean>
<!-- sqlMapClient, configLocation, file -->
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactoryBean">
<property name="configLocation" value="file:WebContent/WEB-INF/sqlMap-config.xml" />
<property name="dataSource" ref="dataSource" />
</bean>
'Dev > Java' 카테고리의 다른 글
Quartz test (0) | 2013.12.11 |
---|---|
jndi test 2 (0) | 2013.12.11 |
@ContextConfiguration (0) | 2013.12.09 |
tail (0) | 2013.12.05 |
[Java] log4sql, jdbc driverClass (0) | 2013.12.03 |
Comments