From 8a2ca82a98187792a4b0c50cf03031e88b0a60a2 Mon Sep 17 00:00:00 2001 From: SeoJin Kim Date: Fri, 18 Dec 2020 16:59:32 +0900 Subject: [PATCH] =?UTF-8?q?[Spring][=EC=87=BC=ED=95=91=EB=AA=B0=20?= =?UTF-8?q?=ED=94=84=EB=A1=9C=EC=A0=9D=ED=8A=B8][8]=20=EB=A1=9C=EA=B7=B8?= =?UTF-8?q?=EC=9D=B8=20=EA=B8=B0=EB=8A=A5=20=EA=B5=AC=ED=98=84(=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=20=EB=8D=B0=EC=9D=B4=ED=84=B0=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://kimvampa.tistory.com/122 순서 1. login.jsp (로그인 실패) 2. main.jsp (로그인 성공) --- VamPa/src/main/webapp/WEB-INF/views/main.jsp | 20 +++++++++++++++++-- .../webapp/WEB-INF/views/member/login.jsp | 6 ++++++ VamPa/src/main/webapp/resources/css/main.css | 16 +++++++++++++++ .../webapp/resources/css/member/login.css | 7 +++++++ .../maven/com.vam/controller/pom.properties | 2 +- .../src/main/webapp/WEB-INF/views/main.jsp | 20 +++++++++++++++++-- .../webapp/WEB-INF/views/member/login.jsp | 6 ++++++ .../src/main/webapp/resources/css/main.css | 16 +++++++++++++++ .../webapp/resources/css/member/login.css | 7 +++++++ .../maven/com.vam/controller/pom.properties | 2 +- 10 files changed, 96 insertions(+), 6 deletions(-) diff --git a/VamPa/src/main/webapp/WEB-INF/views/main.jsp b/VamPa/src/main/webapp/WEB-INF/views/main.jsp index 347c6d5..3c5e912 100644 --- a/VamPa/src/main/webapp/WEB-INF/views/main.jsp +++ b/VamPa/src/main/webapp/WEB-INF/views/main.jsp @@ -1,5 +1,7 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> @@ -22,8 +24,22 @@

Search area

- - 회원가입 + + + + + 회원가입 + + + + + + +
diff --git a/VamPa/src/main/webapp/WEB-INF/views/member/login.jsp b/VamPa/src/main/webapp/WEB-INF/views/member/login.jsp index aeef3a1..a5e184d 100644 --- a/VamPa/src/main/webapp/WEB-INF/views/member/login.jsp +++ b/VamPa/src/main/webapp/WEB-INF/views/member/login.jsp @@ -1,5 +1,6 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> @@ -31,6 +32,11 @@ + + + + +
diff --git a/VamPa/src/main/webapp/resources/css/main.css b/VamPa/src/main/webapp/resources/css/main.css index d89bbbc..f253220 100644 --- a/VamPa/src/main/webapp/resources/css/main.css +++ b/VamPa/src/main/webapp/resources/css/main.css @@ -80,6 +80,22 @@ height: 1000px; } +/* 로그인 성공 영역 */ +.login_success_area{ + height: 62%; + width: 80%; + border: 2px solid #7474ad; + border-radius: 15px; + margin: 5% auto; + padding-top: 5%; +} +.login_success_area>span{ + display : block; + text-align: left; + margin-left: 10%; +} + + /* float 속성 해제 */ .clearfix{ clear: both; diff --git a/VamPa/src/main/webapp/resources/css/member/login.css b/VamPa/src/main/webapp/resources/css/member/login.css index de7d287..971b4bd 100644 --- a/VamPa/src/main/webapp/resources/css/member/login.css +++ b/VamPa/src/main/webapp/resources/css/member/login.css @@ -76,6 +76,13 @@ margin : auto; } +/* 로그인 실패시 경고글 */ +.login_warn{ + margin-top: 30px; + text-align: center; + color : red; +} + /* float 속성 해제 */ .clearfix{ clear: both; diff --git a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index 5aeb148..f95d2d6 100644 --- a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Tue Dec 15 11:19:19 KST 2020 +#Fri Dec 18 16:56:19 KST 2020 version=1.0.0-BUILD-SNAPSHOT groupId=com.vam m2e.projectName=VamPa diff --git a/VamPa_MySQL/src/main/webapp/WEB-INF/views/main.jsp b/VamPa_MySQL/src/main/webapp/WEB-INF/views/main.jsp index 347c6d5..3c5e912 100644 --- a/VamPa_MySQL/src/main/webapp/WEB-INF/views/main.jsp +++ b/VamPa_MySQL/src/main/webapp/WEB-INF/views/main.jsp @@ -1,5 +1,7 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> + <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> @@ -22,8 +24,22 @@

Search area

- - 회원가입 + + + + + 회원가입 + + + + + + +
diff --git a/VamPa_MySQL/src/main/webapp/WEB-INF/views/member/login.jsp b/VamPa_MySQL/src/main/webapp/WEB-INF/views/member/login.jsp index aeef3a1..a5e184d 100644 --- a/VamPa_MySQL/src/main/webapp/WEB-INF/views/member/login.jsp +++ b/VamPa_MySQL/src/main/webapp/WEB-INF/views/member/login.jsp @@ -1,5 +1,6 @@ <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> + <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> @@ -31,6 +32,11 @@ + + + + +
diff --git a/VamPa_MySQL/src/main/webapp/resources/css/main.css b/VamPa_MySQL/src/main/webapp/resources/css/main.css index d89bbbc..f253220 100644 --- a/VamPa_MySQL/src/main/webapp/resources/css/main.css +++ b/VamPa_MySQL/src/main/webapp/resources/css/main.css @@ -80,6 +80,22 @@ height: 1000px; } +/* 로그인 성공 영역 */ +.login_success_area{ + height: 62%; + width: 80%; + border: 2px solid #7474ad; + border-radius: 15px; + margin: 5% auto; + padding-top: 5%; +} +.login_success_area>span{ + display : block; + text-align: left; + margin-left: 10%; +} + + /* float 속성 해제 */ .clearfix{ clear: both; diff --git a/VamPa_MySQL/src/main/webapp/resources/css/member/login.css b/VamPa_MySQL/src/main/webapp/resources/css/member/login.css index de7d287..971b4bd 100644 --- a/VamPa_MySQL/src/main/webapp/resources/css/member/login.css +++ b/VamPa_MySQL/src/main/webapp/resources/css/member/login.css @@ -76,6 +76,13 @@ margin : auto; } +/* 로그인 실패시 경고글 */ +.login_warn{ + margin-top: 30px; + text-align: center; + color : red; +} + /* float 속성 해제 */ .clearfix{ clear: both; diff --git a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index a3548a4..d260ce2 100644 --- a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Tue Dec 15 11:19:20 KST 2020 +#Fri Dec 18 16:56:19 KST 2020 version=1.0.0-BUILD-SNAPSHOT groupId=com.vam m2e.projectName=VamPa_MySQL