G Amuthan - Spring MVC Beginner's Guide. Your Ultimate Guide To Building A Complete Web Application Using All The Capabilities Of Spring MVC.pdf

(4410 KB) Pobierz
Spring MVC Beginner’s Guide
Table of Contents
Spring MVC Beginner’s Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Time for action – heading
What just happened?
Pop quiz – heading
Have a go hero – heading
Reader feedback
Customer support
Downloading the example code
Errata
Piracy
Questions
1. Configuring a Spring Development Environment
Setting up Java
Time for action – installing JDK
Time for action – setting up environment variables
Configuring a build tool
Time for action – installing the Maven build tool
Installing a web server
Time for action – installing the Tomcat web server
Configuring a development environment
Time for action – installing Spring Tool Suite
Time for action – configuring Tomcat on STS
What just happened?
Time for action – configuring Maven on STS
Creating our first Spring MVC project
Time for action – creating a Spring MVC project in STS
What just happened?
Spring MVC dependencies
Time for action – adding Spring jars to the project
What just happened?
Time for action – adding Java version properties in pom.xml
A jump-start to MVC
Time for action – adding a welcome page
What just happened?
The dispatcher servlet
Time for action – configuring the dispatcher servlet
What just happened?
Deploying our project
Time for action – running the project
Summary
2. Spring MVC Architecture – Architecting Your Web Store
The dispatcher servlet
Time for action – examining request mapping
What just happened?
Pop quiz – request mapping
The web application context
Time for action – understanding the web application context
What just happened?
Zgłoś jeśli naruszono regulamin