티스토리 뷰
session.getattribute("userno") 는 object의 strung형
int형으로 써야할땐 먼저 object-> string ->int로 바꿔야함
'Java' 카테고리의 다른 글
문자열 비교 (0) | 2023.06.25 |
---|---|
삼항연산 (0) | 2023.06.25 |
[STS]The superclass "jakarta.servlet.http.HttpServlet" was not found on the Java Build Path (0) | 2023.05.08 |
[JSP]req.getParameter와 req.setAttribute (0) | 2023.04.24 |
[오류]Multiple annotations found at this line (0) | 2023.03.19 |