forked from spring-attic/spring-mvc-showcase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
51 lines (39 loc) · 1.78 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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 tomcat:run
or
In your preferred IDE such as SpringSource Tool Suite (STS) or IDEA:
- Import spring-mvc-showcase as a Maven Project
- Drag-n-drop the project onto the "SpringSource tc Server Developer Edition" or another Servlet 2.5 or > Server to run, such as Tomcat.
Access the deployed web application at: http://localhost:8080/spring-mvc-showcase/
Other info:
-------------------
Framework version illustrated: Spring MVC 3.1
The slide presentation is located in this directory and named MasteringSpringMVC3.pdf.
A screen cast showing the showcase in action is available at http://s3.springsource.org/MVC/mvc-showcase-screencast.mov.
This showcase originated from the blog at: http://blog.springsource.com/2010/07/22/spring-mvc-3-showcase/
It was also adapted into a SpringOne presentation called "Mastering MVC 3": http://www.infoq.com/presentations/Mastering-Spring-MVC-3