$.ajax({
url:'projectBoardRead.do',
data: {"project_id":project_id},
dataType:'json',
success:function(data){
console.log("성공");
}
forward.setRedirect(false);
forward.setPath("/jsp/module/schedule/calenderListJsonParse.jsp");
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@page import="kosta.model.module.vo.ScheduleCalender"%>
<%@page import="kosta.model.module.vo.ScheduleCategory"%>
<%@page import="java.util.List"%>
<%@page import="net.sf.json.JSONArray"%>
<%@page import="java.util.ArrayList"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%!
List<ScheduleCategory> category_list;
List<ScheduleCalender> calender_list;
%>
<%
category_list = (List<ScheduleCategory>)request.getAttribute("categoryList");
//System.out.println("list: " + category_list.size());
//calender_list = (List<ScheduleCalender>)request.getAttribute("calenderList");
//out.println(category_list);
System.out.println(JSONArray.fromObject(category_list).toString());
out.println(JSONArray.fromObject(category_list).toString());
%>
if(false == data[i].isNull("category_id"))
console.log(data[i].category_id);