//查看合同列表@RequestMapping(value="/goContractList",method=RequestMethod.GET)public String goContractList(HttpServletRequest request,HttpServletResponse response,ModelMap model) throws Exception{ System.out.println(request.getSession().getId()); //其余代码略 }//查看合同明细@RequestMapping(value="/viewContract",method=RequestMethod.GET)public ModelAndView viewContract(HttpServletRequest request,HttpServletResponse response) throws Exception{ //这里的sessionId与第一次的sessionId不一样,且之前session中存储的数据都不存在了 System.out.println(request.getSession().getId()); //其余代码略 }
添加回答
举报
0/150
提交
取消