摘要:
<!-- 使用连接池获得连接JNDI java name dri interface java命名目录接口 --> <!-- 获得连接 --> <% Context context = new InitialContext(); DataSource ds = (DataSource)context.lookup("java:/comp/env/jdbc/oracle"); Connection conn = ds.getConnection(); PreparedStatement ps = conn.prepareStatem... 阅读全文