컨트롤러에서 sysout 찍어보면 잘 받아오는데, 이걸 jsp로 전달하니 저런 에러가 나와요 ㅠ Map.java ``` @Select("SELECT * FROM xxxxx WHERE CompetitionID = 1") public List<RankingEventVO> getEventCompetitionID1(); ``` Con.java ``` List<RankingEventVO> getCompID1 = commonMapper.getEventCompetitionID1(); model.addAttribute("getCompID1", getCompID1); ``` getE.jsp ``` <td>${getCompID1.rankingIdx}</td> ``` error msg ``` Request processing failed; nested exception is org.apache.tiles.request.render.CannotRenderException: java.io.IOException: JSPException including path '/WEB-INF/views/tournament/editEvent.jsp'. ```
# 리스트 중 하나를 지정하여 꺼내야 합니다. **Controller** ```java List<RankingEventVO> getCompID1List = commonMapper.getEventCompetitionID1(); model.addAttribute("getCompID1List", getCompID1List); ``` **View** ```jsp ${getCompID1List.get(0).rankingIdx} ```
최고에요!