출처 : http://stackoverflow.com/questions/18960446/how-to-convert-a-java-resultset-into-json How to convert a Java resultset into JSON? I have a resultset as a result of a MySQL query using the JDBC connector.
So my job is to convert the resultset into a JSON format. So that I can send it to the clientside as a AJAX response.
Can s... stackoverflow.com Apache-DBUtils,Gson 사용 [code] public static String resultSetToJson(Connection connection, String query) { List
원문 링크 : ResultSet to JSON