public List<FoodDataBean> getBoardCommentaryList(int idx) throws Exception{
		Connection conn = null;
		PreparedStatement pstmt = null;
		ResultSet rs = null;
		List<FoodDataBean> commList = null;
		String sql = "";
		FoodDataBean comm = null;
		try{
			conn = getConnection();
			sql  = "select * from foodcommentary where idx=? order by num desc";
			pstmt = conn.prepareStatement(sql);
			pstmt.setInt(1, idx);
			rs = pstmt.executeQuery();
			if(rs.next()){
				commList = new ArrayList<FoodDataBean>();
				do{
					comm = new FoodDataBean();
					comm.setComm_content(rs.getString("content"));
					comm.setComm_nickname(rs.getString("nickname"));
					comm.setComm_wdate(rs.getTimestamp("wdate"));
					commList.add(comm);
				}
				while(rs.next());
			}
		}catch(Exception ex){
			ex.printStackTrace();
		}finally{
			if(rs!=null)try{rs.close();}catch(SQLException ex){}
			if(pstmt!=null)try{pstmt.close();}catch(SQLException ex){}
			if(conn!=null)try{conn.close();}catch(SQLException ex){}
		}
	return commList;
	}