用getSession()调用时间
2018-12-14 11:27 Rian丶 阅读(195) 评论(0) 编辑 收藏 举报//存储时间
request.getSession().setAttribute("tiam2",itemList);
//调用时间
String tiam2 = (String) request.getSession().getAttribute("before_Recode_Date");
SimpleDateFormat sDateFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
String date = sDateFormat.format(new java.util.Date());