Skip to content
Demonstrates the features of the Spring MVC web framework
Branch: master
Clone or download
djbrieck and rstoyanchev Checking in clarification note with location of controller
code for standard and custom web Arguments
Latest commit b9e18ad May 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Checking in clarification note with location of controller Jun 6, 2018
.gitignore Upgarde version of Spring to 3.1 GA Dec 13, 2011
README.md Remove tomcat maven plugin Jan 23, 2018
pom.xml Update SFW version to 5.0.4 Mar 19, 2018

README.md

Spring MVC Showcase

Demonstrates the capabilities of the Spring MVC web framework through small, simple examples. After reviewing this showcase, you should have a good understanding of what Spring MVC can do and get a feel for how easy it is to use. Includes project code along with a supporting slideshow and screen cast.

In this showcase you'll see the following in action:

  • The simplest possible @Controller
  • Mapping Requests
  • Obtaining Request Data
  • Generating Responses
  • Message Converters
  • Rendering Views
  • Type Conversion
  • Validation
  • Forms
  • File Upload
  • Exception Handling

To get the code:

Clone the repository:

$ git clone git://github.com/SpringSource/spring-mvc-showcase.git

If this is your first time using Github, review http://help.github.com to learn the basics.

To run the application:

From the command line with Maven:

$ cd spring-mvc-showcase
$ mvn jetty:run 

Access the deployed web application at: http://localhost:8080/spring-mvc-showcase/

Note:

This showcase originated from a blog post and was adapted into a SpringOne presentation called Mastering MVC 3.

A screen cast showing the showcase in action is available in QuickTime format.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.