@GetMapping(value = { "/out" }, produces = MediaType.TEXT_HTML_VALUE)
public String outIndex(Model model) {
model.addAttribute("status", action.dataMap());
return "/out";
}
<select class="sml" name="action">
<option value="" selected="selected">全部</option>
<option th:each="entry : ${status.entrySet()}"
th:value="${entry.key}" th:utext="${entry.value}"></option>
</select>
文章標籤
全站熱搜
留言列表