%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8" %> <%@ page import="java.sql.*, javax.sql.*, javax.naming.*" %> <% request.setCharacterEncoding("UTF-8"); //2020.09.25. 박민규- 캐릭터셋 설정 String uri = request.getRequestURI(); String type = request.getParameter("type"); String dsNm = request.getParameter("dsNm"); String driver = request.getParameter("driver"); String url = request.getParameter("url"); String user = request.getParameter("user"); String password = request.getParameter("password"); String sql = request.getParameter("sql"); if( type == null || type.equalsIgnoreCase("null") ) type = ""; if( dsNm == null || dsNm.equalsIgnoreCase("null") ) dsNm = ""; if( driver == null || driver.equalsIgnoreCase("null") ) driver = ""; if( url == null || url.equalsIgnoreCase("null") ) url = ""; if( user == null || user.equalsIgnoreCase("null") ) user = ""; if( password == null || password.equalsIgnoreCase("null") ) password = ""; if( sql == null || sql.equalsIgnoreCase("null") ) sql = ""; String msg = ""; Connection conn = null; PreparedStatement ps = null; ResultSet rs = null; %>