1. 홈 화면 버튼 구성

2. 임직원 회원가입 페이지 연동
This commit is contained in:
mcutegs2
2020-06-09 16:51:55 +09:00
parent 831a4a2d5e
commit ab54be7072
7 changed files with 164 additions and 17 deletions

View File

@@ -12,6 +12,6 @@ public class LoginCommand implements Command {
//TODO : DB작업 필요
return "views/student/loginForm.jsp";
return "Login.jsp";
}
}

View File

@@ -0,0 +1,14 @@
package command;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class UserJoinCommand implements Command{
@Override
public String exec(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
return "UserJoin.jsp";
}
}

View File

@@ -14,6 +14,7 @@ import javax.servlet.http.HttpServletResponse;
import command.Command;
import command.HomeCommand;
import command.LoginCommand;
import command.UserJoinCommand;
@WebServlet("/Fcontroller")
public class Fcontroller extends HttpServlet {
@@ -30,6 +31,7 @@ public class Fcontroller extends HttpServlet {
list.put("/login.do", new LoginCommand()); //로그인 처리
list.put("/home.do", new HomeCommand()); //처음 보여주는 페이지;
list.put ("/UserJoin.do", new UserJoinCommand()); // 임직원 회원가입 페이지
//이 부분에 계속적으로 매핑을 추가하면 됨
}