This commit is contained in:
Phillip Webb
2014-01-02 12:04:45 -08:00
parent 0f9c705980
commit 1bcd3de7b5
31 changed files with 159 additions and 56 deletions

View File

@@ -14,9 +14,9 @@ public class WelcomeController {
private String message = "Hello World";
@RequestMapping("/")
public String welcome(Map<String,Object> model) {
public String welcome(Map<String, Object> model) {
model.put("time", new Date());
model.put("message", message );
model.put("message", message);
return "welcome";
}