标签:nbsp framework val value att style for mic Fix
1.需在jsp页面引入头文件:
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
2.在jsp页面的使用方法:
3.对应controller的使用:
@RequestMapping(value = "/to_check",params = "id") public String toCheck(int id, Map<String, Object> map){ map.put("claimVoucher",claimVoucherBiz.get(id)); map.put("items",claimVoucherBiz.getItems(id)); map.put("records",claimVoucherBiz.getRecords(id)); DealRecord dealRecord =new DealRecord(); dealRecord.setClaimVoucherId(id); map.put("record",dealRecord); //通过map返回modelAttribute对应的实体对象 return "claim_voucher_check"; }
标签:nbsp framework val value att style for mic Fix
原文地址:https://www.cnblogs.com/shouyaya/p/13067359.html