Java Reference
In-Depth Information
Table 5-7. The DispatcherServlet's Default Components
Component
Default Implementation
MultipartResolver
No default; explicit configuration required
LocaleResolver
AcceptHeaderLocaleResolver
ThemeResolver
FixedThemeResolver
HandlerMapping
BeanNameUrlHandlerMapping
DefaultAnnotationHandlerMapping
HandlerAdapter
HttpRequestHandlerAdapter
SimpleControllerHandlerAdapter
AnnotationMethodHandlerAdapter
HandlerExceptionResolver
AnnotationMethodHandlerExceptionResolver
ResponseStatusExceptionResolver
DefaultHandlerExceptionResolver
RequestToViewNameTranslator
DefaultRequestToViewNameTranslator
ViewResolver
InternalResourceViewResolver
FlashMapManager
SessionFlashMapManager
Getting Started with a Spring Web MVC Application
In this section, I will walk you through the steps of creating a Hello World Spring MVC application
using Spring Tool Suite (an Eclipse-based IDE). You will learn the fundamental concepts of Spring
MVC while building the sample application. The tools used in this application include the following:
Spring Framework 3.2.1
Spring Tool Suite IDE 3.2.0 (based on Eclipse Juno 4.2.2)
vFabric tc Server Developer Edition v2.8 (based on Apache Tomcat and
optimized for Spring applications)
Spring Tool Suite (STS) is an Eclipse-based IDE that is actively developed and maintained by
the SpringSource community. STS provides project templates such as Spring Batch, Spring
Integration, Spring Persistence (Hibernate + JPA), Spring MVC, and so on. In addition, STS always
gets the latest update of Spring artifacts from the Maven repository.
You can choose to download and install STS in one of three ways:
Download and install STS from the installer program.
Install STS through an Eclipse update.
Download and extract the zip archive.
Start STS in your own workspace. From the main menu, select File ➤ New ➤ Spring Template
Project (see Figure 5-7 ).
 
 
Search WWH ::




Custom Search