톰캣에 JNDI 설정
- 📕 Programing/Spring
- 2014. 10. 12. 09:13
file:///C:/apache-tomcat-7.0.55/webapps/docs/jndi-resources-howto.html
톰캣 - webapps/docs/index.html에 들어가서 JNDI부분 보면됨.
<Context docBase="SpringBoard" path="/SpringBoard" reloadable="true" source="org.eclipse.jst.jee.server:SpringBoard">
<!-- JNDI설정한 것임 이걸쓰겟다고 -->
<ResourceLink name="jdbc/SpringDB" global="jdbc/SpringDB" type="javax.sql.DataSource" />
</Context>
** <Context> 사이에 넣어줘야함
'📕 Programing > Spring' 카테고리의 다른 글
[Intellij] JSP 연동 후 한글깨짐 현상 (0) | 2021.01.21 |
---|---|
Springboot 와 Mybatis 연동 (0) | 2020.05.19 |
큐브리드 DB설정 (0) | 2014.01.23 |
@Autowired (0) | 2013.12.20 |
@ContextConfiguration (0) | 2013.12.20 |