WEBVTT

1
00:00:00.000 --> 00:00:02.050
convincing success of deploying
your first Java web app.

2
00:00:02.050 --> 00:00:06.300
Sure, we got an error when we
visited our running application, but

3
00:00:06.300 --> 00:00:11.520
that was only because our app lacks the
code to handle requests to certain URIs.

4
00:00:11.520 --> 00:00:15.690
Actually, it lacks the code to
handle requests to any URI.

5
00:00:15.690 --> 00:00:17.240
So, let's change that.

6
00:00:17.240 --> 00:00:20.160
What we're going to do is
write a Spring controller.

7
00:00:20.160 --> 00:00:21.650
In a Spring web application,

8
00:00:21.650 --> 00:00:25.970
the controller is a Java object whose job
is to handle requests to certain URIs.

9
00:00:27.010 --> 00:00:30.000
We'll apply annotations to methods
within this class that indicate
