摘要:
设置时效:1分钟HttpSession session=ServletActionContext.getRequest().getSession(true); session.setAttribute("random", random); session.setMaxIn... 阅读全文
摘要:
int Num=new Random().nextInt(10)+1;new Random().nextInt(10)产生的是0-9的随机数new Random().nextInt(11)产生的是0-10的随机数) 阅读全文