Create a spring project with the Spring webstarter and Thymeleaf dependencies that tracks page views on your
Question:
Create a spring project with the Spring webstarter and Thymeleaf dependencies that tracks page views on your website
[2] A class PageCounter that.. - stores a Integer pageCounter - has a method to increment the integer - has a method to get the current pageCount [5] A class called PageCountConfig that... - is a spring configuration class - creates a PageCounter dependency
[5 A Controller WelcomeController that - has a mapping for "/" that returns a 'welcome' template - should increment the count for pageCount when a method is called - should add the current page count to the model -has a PageCounter injected into it
[3] A Controller called PageCountController that.. - is a rest controller - has a mapping for "/currentcount" that returns the current pagecount - has a PageCounter injected into it
[5] A template welcome.html that - contains some basic html that welcomes you to the website (put something like "welcome to my website" in a header) - displays the current visiter count - should auto update the visitor count with ajax every 3 seconds by calling the PageCountController/currentcount
Financial Reporting Financial Statement Analysis and Valuation
ISBN: 978-0324302950
6th edition
Authors: Clyde P. Stickney