Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- Building Our Model 7:46
- In Memory DAO implementation 1 question
- Template Reuse and Static Resources 11:04
- Template Reuse 1 question
- Adding to and Iterating a List 13:43
- Redirecting 1 objective
- Using Filters and Request Attributes 8:25
- Using filters 3 questions
- Accessing Specific Items 12:54
- Details 8:34
- URL Parameters 2 questions
- Messaging 6:10
- Build Your Own Flash Messages 14:13
- Review Messaging 3 questions
- Request Handled 1:39
Well done!
You have completed Intro to Java Web Development with Spark!

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Let’s create a list of ideas and display them in our template. You will explore using the Model in our View that was passed to you from your Controller. MVC in action!
Learn more:
- Model View Controller - MVC - Pattern
- Post/Redirect/Get - PRG - Pattern
- We’ve got a course in the works on Functional Programming. Check back soon! For now, check out the official Oracle tutorial on Streams
The updated design from our design team!
body{
background-color: #eaeaea;
font-family: Arial;
}
a{
color: #2c89ba;
text-decoration: none;
}
a:hover{
color: #174963;
text-decoration: underline;
}
ul{
padding: 0;
}
li{
border-bottom: 1px solid #eaeaea;
list-style: none;
margin-bottom: 10px;
padding-bottom: 10px;
}
li:last-child{
border: 0;
margin: 0;
padding: 0;
}
.page{
background-color: #fff;
border-radius: 5px;
margin: 40px auto;
padding: 20px 40px 40px 40px;
width: 600px;
}
input{
border-radius: 5px;
border: 1px solid #ccc;
padding: 10px;
}
button{
background-color: #2c89ba;
border: none;
border-radius: 5px;
color: #fff;
padding: 10px;
}
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Adrian Grabowski
2,622 Points0 Answers
-
Yaswanth Avula
8,079 Points2 Answers
-
PLUS
Sovan Rath
Courses Plus Student 1,152 Points1 Answer
-
Martin Torres
10,353 Points1 Answer
-
Carlos Sanchez
8,900 Points1 Answer
-
Brendan Whiting
Front End Web Development Techdegree Graduate 84,738 PointsWhy does every route create its own new HandlebarsTemplateEngine()?
2 Answers
-
Ernest Rodriguez
17,643 Points3 Answers
-
Sergei Makarov
13,839 Points1 Answer
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
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