The check point
At the end of this chapter, you should have one controller, the TweetController
, handling the search and the untouched generated configuration class, MasterSpringMvcApplication
, in the src/main/java
directory:
In the src/main/resources
directory, you should have one default layout and two pages using it.
In the application.properties
file, we added the Twitter application credentials as well as a property telling Spring not to cache the templates to ease development:
Get Spring MVC: Designing Real-World Web Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.