admin/AdminIndex.java
페이지 정보
본문
package admin;
import java.io.IOException;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet("/admin/")
public class AdminIndex extends HttpServlet {
private static final long serialVersionUID = 1L;
public AdminIndex() {
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
RequestDispatcher dis = request.getRequestDispatcher("index.jsp");
dis.forward(request, response);
}
}
- 이전글● admin 첫 페이지 연결 ( Servlet ) 23.03.17
- 다음글● admin 템플릿 적용 23.03.17
댓글목록
등록된 댓글이 없습니다.