计算机与现代化 ›› 2013, Vol. 1 ›› Issue (11): 167-168.doi:

• 应用与开发 • 上一篇    下一篇

基于Spring MVC的Web应用开发

舒礼莲
  

  1. 江西省计算技术研究所,江西南昌330002
  • 收稿日期:2013-09-20 修回日期:1900-01-01 出版日期:2013-11-19 发布日期:2013-11-19

A Web Application Based on Spring MVC Framework

SHU Lilian
  

  1. Jiangxi Institute of Computing Technology, Nanchang 330002, China
  • Received:2013-09-20 Revised:1900-01-01 Online:2013-11-19 Published:2013-11-19

摘要:

摘要:介绍使用Spring MVC框架进行Web应用开发的方法。MVC的核心是控制器,本文重点介绍前端控制器DispatcherServlet的配置方法。包括前端控制器如何分配用户请求到其他控制器类,如何与用户页面参数绑定,如何访问模型数据,如何输出到视图页面。

关键词: 关键词:Spring, MVC模式, 应用开发

Abstract:

Abstract: This article introduces the method of developing Web application using Spring MVC framework. Controller is the core of MVC pattern. We focus on configuration method of front controller DispatcherServlet, including how to dispatch front controller to other controllers, how to binding parameters in user interface to models, how to access model data, how to output to view pages.

Key words: Key words: Spring, MVC pattern, application development