【发布时间】:2016-03-16 10:17:57
【问题描述】:
如何使用 thymeleaf 添加一个没有任何 pojos 的 String 对象?
@RequestMapping("/hello")
public String s(Model model){
model.add("e","model test");
return "view1";
}
接下来如何从视图中获取数据?!
【问题讨论】:
标签: spring model-view-controller thymeleaf