<%@ page language=“java” contentType=“text/html; charset=UTF-8” pageEncoding=“UTF-8” %>
<%@ page import = “java.sql.*”%>
<%
String url = “jdbc:mysql://localhost:3306/mysql”;
String id = “root”;
String pw = “ryxhd1234”;
Connection con = null;
Statement stmt = null;
ResultSet rs = null;
String sql=null;
try
{
Class.forName(“com.mysql.jdbc.Driver”);
con=DriverManager.getConnection(url,id,pw);
out.println(“제대로 연결되었습니다.”);
}catch(SQLException e){
out.println(e);
}
sql=" SELECT * FROM car WHERE gis_y<>’’ OR gis_x<>’’; ";
stmt = con.createStatement();
rs = stmt.executeQuery(sql);
int i = 0;
%>
보험사기 추정지 html { height: 100% } body { height: 500px; margin: 0; padding:0} #map { width: 500px; height: 485px } <% if(rs != null) rs.close(); if(stmt !=null)stmt.close(); if(con !=null)con.close(); %> 현재 제가 짜놓은 코딩인데 무슨 문제가 있어서 문제점을 찾을수 없는데 작동이 되지않는걸까요?