- Spring MVC Beginner’s Guide
- Amuthan G
- 150字
- 2021-07-16 11:25:42
The dispatcher servlet
In the first chapter, we were introduced to the dispatcher servlet and saw how to define a dispatcher servlet in web.xml
. We learned that every web request first comes to the dispatcher servlet. The dispatcher servlet is the one that decides the controller method that it should dispatch the web request to. In the previous chapter, we created a welcome page that will be shown whenever we enter the URL http://localhost:8080/webstore/
on the browser. Mapping a URL to the appropriate controller method is the primary duty of a dispatcher servlet.
So the dispatcher servlet reads the web request URL and finds the appropriate controller method that can serve that web request and invokes it. This process of mapping a web request to a specific controller method is called request mapping, and the dispatcher servlet is able to do this with the help of the @RequestMapping
annotation (org.springframework.web.bind.annotation.RequestMapping
).
- 數據浪潮
- Test-Driven Development with Mockito
- 大數據算法
- 揭秘云計算與大數據
- Python數據分析:基于Plotly的動態可視化繪圖
- Hadoop大數據實戰權威指南(第2版)
- 大話Oracle Grid:云時代的RAC
- 智能數據分析:入門、實戰與平臺構建
- 數字媒體交互設計(初級):Web產品交互設計方法與案例
- 跟老男孩學Linux運維:MySQL入門與提高實踐
- MySQL 8.x從入門到精通(視頻教學版)
- 基于OPAC日志的高校圖書館用戶信息需求與檢索行為研究
- 云數據中心網絡與SDN:技術架構與實現
- Python數據分析與數據化運營
- R Machine Learning Essentials