오류
java.lang.NumberFormatException: For input string: "id"
소힌
2022. 4. 13. 12:20
타입 예외 보고
메시지 행 [15]에서 [/WEB-INF/views/fileList.jsp]을(를) 처리하는 중 예외 발생
설명 서버가, 해당 요청을 충족시키지 못하게 하는 예기치 않은 조건을 맞닥뜨렸습니다.
예외
org.apache.jasper.JasperException: 행 [15]에서 [/WEB-INF/views/fileList.jsp]을(를) 처리하는 중 예외 발생
12: <c:if test="${not empty list}">
13: <ul>
14: <c:forEach var="item" items="${list}">
15: <li>${list.id} ${list.name}</li>
16: </c:forEach>
17: </ul>
18: </c:if>
이렇게 오류가 났다
나는 똥멍청이다 item을 하나씩 읽어오는 거면
${item.id} ${item.name}을 해주었어야지
ㅠㅠㅠㅠㅠㅠ 에휴ㅠㅠ.;;;