Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed Spring Basics!
You have completed Spring Basics!
Preview
In this video, we'll create a Spring controller that has a method to intercept a URI request, and respond with a simple String message.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
convincing success of deploying
your first Java web app.
0:00
Sure, we got an error when we
visited our running application, but
0:02
that was only because our app lacks the
code to handle requests to certain URIs.
0:06
Actually, it lacks the code to
handle requests to any URI.
0:11
So, let's change that.
0:15
What we're going to do is
write a Spring controller.
0:17
In a Spring web application,
0:20
the controller is a Java object whose job
is to handle requests to certain URIs.
0:21
We'll apply annotations to methods
within this class that indicate
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up