컨트롤러, 커맨드 구조 추가하여 연동
This commit is contained in:
14
hospital/src/main/java/command/HomeCommand.java
Normal file
14
hospital/src/main/java/command/HomeCommand.java
Normal 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";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user