Biblioteca Java - Blame information for rev 11

Subversion Repositories:
Rev:
Rev Author Line No. Line
11 mihai 1 package webapp.hello;
2  
3 import org.springframework.stereotype.Controller;
4 import org.springframework.ui.ModelMap;
5 import org.springframework.web.bind.annotation.RequestMapping;
6 import org.springframework.web.bind.annotation.RequestMethod;
7  
8  
9 @Controller
10 @RequestMapping("/hello")
11 public class HelloController {
12  
13            @RequestMapping(method = RequestMethod.GET)
14            public String printHello(ModelMap model) {
15               model.addAttribute("message", "Hello Spring MVC Framework!");
16               return "hello";
17            }
18 }