response.setContentType("text/html; charset=UTF-8");
PrintWriter out = response.getWriter();
out.println("<script>alert('로그인을 해 주세요.'); location.href='/login.do';</script>");
out.flush();
'Web > Spring' 카테고리의 다른 글
[Spring] DataSource설정 (0) | 2024.01.24 |
---|---|
[Spring](Error) Ambiguous mapping found. Cannot map '' bean method (0) | 2018.12.27 |