JNDI+web.xml

    技术2022-05-19  21

    配置jndi,web容器中声明:

    <!-- 定义jndi --> <resource-ref>  <description> iBatis Connection </description>  <res-ref-name>jdbc/scVipDataSource </res-ref-name>  <res-type> javax.sql.DataSource </res-type>  <res-auth> Container </res-auth> </resource-ref>


    最新回复(0)