public String toHistoryRecordDetail(@RequestParam @ModelAttribute Map<String, String> map) {
return "history_detail";
}
此处后端在map上一起使用了@RequestParam和@ModelAttribute两个注解。
history_detail.jsp页面中如下,无法获取到map的值
<input type="hidden" id="recordId" value="${map.recordId}">
<input type="hidden" id="type" value="${map.type}">
请大佬们帮忙分析一下