用getSession()调用时间
2018-12-14 11:27 Rian丶 阅读(214) 评论(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());
浙公网安备 33010602011771号