WON.dev
join.jsp 본문
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:choose>
<c:when test="${result gt 0 }">
<script type="text/javascript">
alert("회원가입이 완료되었습니다.");
location.href='MemController?cmd=loginPage';
</script>
</c:when>
<c:otherwise>
<script type="text/javascript">
alert("회원 가입이 실패했습니다.");
history.go(-2);
</script>
</c:otherwise>
</c:choose>
</body>
</html>
'JSP > JSP.sideproject' 카테고리의 다른 글
login.jsp (0) | 2023.06.26 |
---|---|
joinPage.jsp (0) | 2023.06.26 |
image (0) | 2023.06.23 |
view.jsp (0) | 2023.06.23 |
update.jsp (0) | 2023.06.23 |