Request lifecycle
Parameter binding
- Understand how Spring binds web parameters to your business objects and provide validation and error handling at the same time.
- Know which default binders are being used, how to plug in extra, and how to built your own.
- Understand the default built-in validation mechanism.
- Know which role property editors play
- Know how to use the spring form tag library and how it can be used to bind the values of a Command object to a HTML form and display binding errors.
Bean Configuration
- Explain how Spring configuration works in general using the Spring application context and the web.xml file.
Tag libraries
I18N
- Understand how Spring MVC supports I18N and identify its main components.
- Know how to retrieve the locale from the request and so lookup a Locale-aware message.
- Know how to store Locales and how they can be changed at runtime.
- Understand its ResourceBundle support.
Exception handling
- Understand how the exception handling mechanism works.
- Know how to extend the built-in exception handlers and how to write your own.
Annotation-based controller configuration
- Understand how to modify your configuration in order to enable annotations
- Define a controller and handler methods
- Define the binding of request parameters to method parameters
- Store attributes in a session
Spring MVC in general
- Demonstrate understanding of the purpose of Spring MVC.
- Identify common design pattern that are used by Spring MVC.
- Show knowledge of supporting classes of the Spring MVC framework, e.g. WebApplicationSupport, DelegatingFilterProxy.
分享到:
相关推荐
为确保网上银行交易的信息安全,设计与实现了一个基于Spring的MVC模式网上银行系统(简称OBS,on-line bank system),从软件生命周期(SDLC)和数据库模型设计的角度对网上银行系统的实现过程进行了分析,给出了...
为了实现园林招投标管理系统的高效开发,并使该系统具有更好的易维护性和可扩展性需求,提出了一种基于现有开源SSH(Struts Spring Hibernate) 架构技术,以My Eclipse为平台进行开发。实践表明采用该技术使...
Spring4、Spring MVC4、Hibernate4、Shiro ## 目录说明 * /src java源代码 * /src/com/xnx3/j2ee/bean 相关bean类 * /src/com/xnx3/j2ee/controller springmvc控制器 * /src/...
### Spring MVC 文件上传知识点 #### 一、Spring MVC 文件上传概述 在Web开发中,文件上传是一项常见的功能需求。Spring MVC 提供了便捷的方式来处理文件上传。本篇将基于一个简单的示例,来讲解如何使用Spring ...
此外,Struts2的动作结果可以导向Spring MVC的Controller,从而形成一个完整的请求处理流程。 **SSH框架的优势** - **模块化**:SSH框架的每个组件都有明确的职责,便于代码组织和团队协作。 - **解耦合**:通过...
### Spring框架概述 #### Spring框架简介 Spring框架是一款开源的Java平台框架,旨在简化企业级应用的开发。...接下来,可以根据具体的需求深入探索更多高级特性,如事务管理、数据访问抽象、MVC框架等。
SpringMVC的发展可以追溯到Spring框架的早期版本,随着对Web应用开发的支持需求不断增长,Spring团队决定创建一个专门针对Web应用的MVC框架,以更好地支持基于Web的应用程序开发。 1.2 **SpringMVC是什么?** ...
对于Java Web应用,通常使用Servlet或特定的框架如Struts、Spring MVC来处理文件上传请求。文件会被解析成`Part`对象,然后保存到服务器的指定位置。 以下是一个简化的JSP页面片段,展示了如何创建一个上传文件的...
- ` `: 不换行空格 - `<`: 小于号 ` - `>`: 大于号 `>` - `&`: 氨基符号 `&` - `"`: 引号 `"` - `©`: 版权符号 `©` - **超级链接**: - `<a>`标签用于创建链接。 - `href`: 链接...
17. **MVC实现**:模型由业务逻辑对象组成,视图负责呈现数据,控制器处理用户请求并协调模型和视图。 18. **Hibernate懒加载**:包括实体懒加载和集合懒加载,它们定义了何时加载关联对象,以优化性能。 19. **...