Spring MVC for beginners 筆記

Borris發表於2020-01-15

近期開始學習 Spring MVC, 在 Udemy 上找到一門入門級課程,做一個 Todo List Management Application。將學習過程記錄一下,增強對基本概念的理解。

Servlet 是什麼?

A Java programming language class used to extend the capabilities of servers that host applications accessed by means of a request-response programming model.

Any servlet should extends HttpServlet. (LoginServlet extends HttpServlet)

  • @WebServlet(urlPatterns = "/login.do")
  • Override the doGet method to let HttpServlet make response to the content requested.

JSP 是什麼?

A collection of teechnologies that helps developers create dynamic web pages based on HTML, XML or some other formats.

本作品採用《CC 協議》,轉載必須註明作者和本文連結

相關文章