更新时间:2022-04-08 10:04:24 来源:极悦 浏览939次
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);
}
0基础 0学费 15天面授
Java就业班有基础 直达就业
业余时间 高薪转行
Java在职加薪班工作1~3年,加薪神器
工作3~5年,晋升架构
提交申请后,顾问老师会电话与您沟通安排学习