컨트롤러, 커맨드 구조 추가하여 연동

This commit is contained in:
mcutegs2
2020-06-08 16:50:52 +09:00
parent 70c7c4771a
commit 831a4a2d5e
7 changed files with 125 additions and 10 deletions

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 HomeCommand implements Command {
public String exec(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{
return "home.jsp";
}
}