Spring MVC for beginners 笔记

近期开始学习 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 协议》,转载必须注明作者和本文链接
讨论数量: 0
(= ̄ω ̄=)··· 暂无内容!

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!