- 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
).
- Mastering Ninject for Dependency Injection
- 卷積神經網絡的Python實現
- Enterprise Integration with WSO2 ESB
- Python數據分析:基于Plotly的動態可視化繪圖
- 大數據Hadoop 3.X分布式處理實戰
- 數據革命:大數據價值實現方法、技術與案例
- 中國數字流域
- 基于Apache CXF構建SOA應用
- Hands-On Mathematics for Deep Learning
- 深入淺出Greenplum分布式數據庫:原理、架構和代碼分析
- 智慧的云計算
- Hadoop 3實戰指南
- Hands-On System Programming with C++
- 數據庫原理及應用:SQL Server 2016
- Artificial Intelligence for Big Data