1 package ch.busyboxes.agoo.controller;
2
3 import org.apache.log4j.Logger;
4 import org.springframework.stereotype.Controller;
5 import org.springframework.ui.ModelMap;
6 import org.springframework.web.bind.annotation.RequestMapping;
7 import org.springframework.web.bind.annotation.RequestMethod;
8
9
10
11
12
13
14 @Controller
15 @RequestMapping("/about.html")
16 public class AboutController {
17
18
19 private Logger logger = Logger.getLogger(IndexController.class);
20
21
22
23
24 public AboutController() {
25 logger.info("About controller initiated");
26 }
27
28
29
30
31
32
33 @RequestMapping(method = RequestMethod.GET)
34 public void indexPage(ModelMap model) {
35
36 logger.debug("Fetching about page information");
37 }
38
39 }