el表达式获取session值的代码是什么?这个问题就由极悦小编来为大家解答。
<script type="text/javascript">
var usernameC = ${sessionScope.SESSION_USER_PROFILE.accountId};
var caseId = "${caseId}";
var taskId = "${taskId}";
var uuid = "${uuid}";
</script>
后台控制层代码:
@GetMapping(value = {URI_FILE_CASE_PANEL_AUDI, URI_FILE_CASE_PANEL_AUDI_HTM})
public ModelAndView indexFile(@RequestParam(value = "caseId", required = false) Long caseId,
@RequestParam(value = "taskId", required = false) String taskId,
@RequestParam(value = "uuid", required = false) String uuid) {
LOGGER.info("enter file case audit panel,caseId:{},taskId:{}", caseId, taskId);
ModelMap map = new ModelMap();
map.put("caseId", caseId);
map.put("taskId", taskId);
map.put("uuid", uuid);
return new ModelAndView(FWD_FILE_CASE_PANEL_FILE_CASE, map);
}
你适合学Java吗?4大专业测评方法
代码逻辑 吸收能力 技术学习能力 综合素质
先测评确定适合在学习