일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- mybatis
- NOTE
- Spring
- MVC
- tiles
- getParameter
- system developer
- ERD
- DevOps
- App
- Framework
- Cloud
- handlerMapping
- 맥린이
- backend
- Program
- command
- getAttribute
- pattern
- setAttribute
- classdiagram
- 프롬프트
- usecasediagram
- controller
- FrontController
- jsp
- UML
- 내장객체
- Agile
- HTTP
Archives
- Today
- Total
목록controller (1)
시작은 언제라도
3. FrontControllerServlet ex3
public void handleRequest(HttpServletRequest request, HttpServletResponse response) throws ServletException,IOException { String command = request.getParameter("command"); Controller c= HandlerMapping.getInstance().create(command); try { String view= c.execute(request, response); request.getRequestDispatcher(view).forward(request, response); } catch (Exception e) { response.sendRedirect("error.j..
Web programming/Patterns
2021. 4. 18. 17:28